Sha256: 8e2d9b076442c7c392db95c654ef0035b695b9cd8966b7410943e96f2583e345
Contents?: true
Size: 1.05 KB
Versions: 28
Compression:
Stored size: 1.05 KB
Contents
#ifndef _RHOAPPADAPTER_H_ #define _RHOAPPADAPTER_H_ #include "common/RhoStd.h" #include "net/INetRequest.h" namespace rho { struct _CRhoAppAdapter { static const int ERR_NONE = 0; static const int ERR_NETWORK = 1; static const int ERR_REMOTESERVER = 2; static const int ERR_RUNTIME = 3; static const int ERR_UNEXPECTEDSERVERRESPONSE = 4; static const int ERR_DIFFDOMAINSINSYNCSRC = 5; static const int ERR_NOSERVERRESPONSE = 6; static const int ERR_CLIENTISNOTLOGGEDIN = 7; static const int ERR_CUSTOMSYNCSERVER = 8; static const int ERR_UNATHORIZED = 9; static const int ERR_CANCELBYUSER = 10; static const int ERR_SYNCVERSION = 11; static const int ERR_GEOLOCATION = 12; static String getMessageText(const char* szName); static String getErrorText(int nError); static int getErrorFromResponse(NetResponse& resp); static void loadServerSources(const String& strSources); static void loadAllSyncSources(); static const char* getRhoDBVersion(); static void resetDBOnSyncUserChanged(); }; extern const _CRhoAppAdapter& RhoAppAdapter; } #endif //_RHOAPPADAPTER_H_
Version data entries
28 entries across 28 versions & 1 rubygems