Sha256: 8ccf6b8729defbdd216800d5857ae7ff29252c1e9c4efa84d460ba1ae0ef8b7d
Contents?: true
Size: 1.06 KB
Versions: 4
Compression:
Stored size: 1.06 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(net::INetResponse& 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
4 entries across 4 versions & 1 rubygems