Verified Commit 012de1d6 authored by A. Wilcox's avatar A. Wilcox

Fix build on Unix

parent 02b61fdd
......@@ -91,6 +91,9 @@ public:
@param account The site to update with.
*/
libAPI static void updateAccountInfo(AuSite *account);
AuAccountManager();
~AuAccountManager();
private:
static void updateProperties(AuSite *acct, WTDictionary *props);
......
......@@ -176,7 +176,7 @@ AuAccountManager::AuAccountManager()
switch(site_code)
{
case SITE_EBAY:
account.site = static_cast<AuSite *>(new eBaySite(username, token));
account.site = static_cast<AuSite *>(new eBaySite(username, token, "us"));
break;
case SITE_ETSY:
account.site = static_cast<AuSite *>(new EtsySite(username, token));
......@@ -200,6 +200,11 @@ AuAccountManager::~AuAccountManager()
}
}
libAPI void AuAccountManager::updateProperties(AuSite *account, WTDictionary *props)
{
UNIMPLEMENTED
}
libAPI void AuAccountManager::addAccount(AuAccount *account)
{
JSONNode *acctsNode = readAcctsNode();
......
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