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

Fix build on Unix

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