Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Auctions
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Wilcox Technologies
Auctions
Commits
012de1d6
Verified
Commit
012de1d6
authored
Jul 26, 2020
by
A. Wilcox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build on Unix
parent
02b61fdd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
Common/Managers/AuAccountManager.h
Common/Managers/AuAccountManager.h
+3
-0
Unix/AuAccountManager_Unix.cpp
Unix/AuAccountManager_Unix.cpp
+6
-1
No files found.
Common/Managers/AuAccountManager.h
View file @
012de1d6
...
...
@@ -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
);
...
...
Unix/AuAccountManager_Unix.cpp
View file @
012de1d6
...
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment