Sha256: 801870789c364444fe1d663315d1293a310804ad5254804374c320abadf60117

Contents?: true

Size: 1005 Bytes

Versions: 19

Compression:

Stored size: 1005 Bytes

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 const char* getRhoDBVersion();
	
};
extern const _CRhoAppAdapter& RhoAppAdapter;
}

#endif //_RHOAPPADAPTER_H_

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
rhodes-2.2.6 platform/shared/common/RhoAppAdapter.h
rhodes-2.2.6.beta.1 platform/shared/common/RhoAppAdapter.h
rhodes-2.2.5 platform/shared/common/RhoAppAdapter.h
rhodes-2.2.5.beta.3 platform/shared/common/RhoAppAdapter.h
rhodes-2.2.5.beta.2 platform/shared/common/RhoAppAdapter.h
rhodes-2.2.5.beta.1 platform/shared/common/RhoAppAdapter.h
rhodes-2.2.4.beta.1 platform/shared/common/RhoAppAdapter.h
rhodes-2.2.3 platform/shared/common/RhoAppAdapter.h
rhodes-2.2.3.beta.1 platform/shared/common/RhoAppAdapter.h
rhodes-2.2.2 platform/shared/common/RhoAppAdapter.h
rhodes-2.2.2.beta.1 platform/shared/common/RhoAppAdapter.h
rhodes-2.2.1 platform/shared/common/RhoAppAdapter.h
rhodes-2.2.1.beta.2 platform/shared/common/RhoAppAdapter.h
rhodes-2.2.1.beta.1 platform/shared/common/RhoAppAdapter.h
rhodes-2.2.0 platform/shared/common/RhoAppAdapter.h
rhodes-2.2.0.beta.3 platform/shared/common/RhoAppAdapter.h
rhodes-2.2.0.beta.2 platform/shared/common/RhoAppAdapter.h
rhodes-2.2.0.beta.1 platform/shared/common/RhoAppAdapter.h
rhodes-2.1.0 platform/shared/common/RhoAppAdapter.h