summaryrefslogtreecommitdiff
path: root/src/sysync/stdlogicagent.h
diff options
context:
space:
mode:
authorLukas Zeller <luz@synthesis.ch>2009-10-02 20:54:32 +0200
committerLukas Zeller <luz@synthesis.ch>2009-10-03 13:46:59 +0200
commit3a81744c81bc4b5d2471fbb426939d1aeccc50a9 (patch)
tree9ece24684dbcee8c293ba666d714e9e34bd3cfbb /src/sysync/stdlogicagent.h
parent2053960415ea8243d06bca38fbaf6d662fd522f4 (diff)
unilib: fixes needed to actually have both client&server enabled in the same build
localengineds/superdatastore: client with superdatastore was old code that needed fixing to compile. (Generating maps from a superdatastore was never used so far as we didn't have any client side superdatastores). WARNING: client-side superdatastores are not tested at all. (but also have no real use case)
Diffstat (limited to 'src/sysync/stdlogicagent.h')
-rwxr-xr-xsrc/sysync/stdlogicagent.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sysync/stdlogicagent.h b/src/sysync/stdlogicagent.h
index 28ac02a..9f21a93 100755
--- a/src/sysync/stdlogicagent.h
+++ b/src/sysync/stdlogicagent.h
@@ -38,11 +38,11 @@ public:
virtual void ResetSession(void); // Resets session (but unlike TerminateSession, session might be re-used)
void InternalResetSession(void); // static implementation for calling through virtual destructor and virtual ResetSession();
// user authentication
- #ifdef SYSYNC_SERVER
- // - server should implement it, so we make it abstract here again (altough there is
+ #ifndef SYSYNC_CLIENT
+ // - server-only build should implement it, so we make it abstract here again (altough there is
// an implementation for simpleauth in session.
virtual bool SessionLogin(const char *aUserName, const char *aAuthString, TAuthSecretTypes aAuthStringType, const char *aDeviceID) = 0;
- #endif // SYSYNC_SERVER
+ #endif // not SYSYNC_CLIENT
}; // TStdLogicAgent