Commit c57b956a authored by Olivier Dion's avatar Olivier Dion

client: Add `accountID` argument to `addAccount()`

Change-Id: Ice706b3c5384cb8bec7becfc6209658a78b9ac9a
parent 4c18f940
......@@ -430,9 +430,9 @@ getAccountTemplate(const std::string& accountType)
}
std::string
addAccount(const std::map<std::string, std::string>& details)
addAccount(const std::map<std::string, std::string>& details, const std::string& accountID)
{
return jami::Manager::instance().addAccount(details);
return jami::Manager::instance().addAccount(details, accountID);
}
void
......
......@@ -60,7 +60,7 @@ DRING_PUBLIC void setAccountDetails(const std::string& accountID,
const std::map<std::string, std::string>& details);
DRING_PUBLIC void setAccountActive(const std::string& accountID, bool active);
DRING_PUBLIC std::map<std::string, std::string> getAccountTemplate(const std::string& accountType);
DRING_PUBLIC std::string addAccount(const std::map<std::string, std::string>& details);
DRING_PUBLIC std::string addAccount(const std::map<std::string, std::string>& details, const std::string& accountID={});
DRING_PUBLIC void monitor(bool continuous);
DRING_PUBLIC bool exportOnRing(const std::string& accountID, const std::string& password);
DRING_PUBLIC bool exportToFile(const std::string& accountID,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment