Sha256: 9ea602c5ad5cbddd2bccd85a1b4856e540b4e9c08c98dd2af6154924aa297e56

Contents?: true

Size: 904 Bytes

Versions: 15

Compression:

Stored size: 904 Bytes

Contents

#ifndef _RHORUBY_H_
#define _RHORUBY_H_

#include "common/RhoStd.h"
#include "net/INetRequest.h"
#include "ruby/ext/rho/rhoruby.h"

namespace rho {
struct _CRhoRuby {
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);

};
extern const _CRhoRuby& RhoRuby;
}

#endif //_RHORUBY_H_

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
rhodes-2.0.3 platform/shared/rubyext/RhoRuby.h
rhodes-2.0.2 platform/shared/rubyext/RhoRuby.h
rhodes-2.0.0 platform/shared/rubyext/RhoRuby.h
rhodes-2.0.0.rc2 platform/shared/rubyext/RhoRuby.h
rhodes-2.0.0.rc1 platform/shared/rubyext/RhoRuby.h
rhodes-2.0.0.beta11 platform/shared/rubyext/RhoRuby.h
rhodes-2.0.0.beta10 platform/shared/rubyext/RhoRuby.h
rhodes-2.0.0.beta9 platform/shared/rubyext/RhoRuby.h
rhodes-2.0.0.beta8 platform/shared/rubyext/RhoRuby.h
rhodes-2.0.0.beta7 platform/shared/rubyext/RhoRuby.h
rhodes-2.0.0.beta6 platform/shared/rubyext/RhoRuby.h
rhodes-2.0.0.beta4 platform/shared/rubyext/RhoRuby.h
rhodes-2.0.0.beta3 platform/shared/rubyext/RhoRuby.h
rhodes-2.0.0.beta2 platform/shared/rubyext/RhoRuby.h
rhodes-2.0.0.beta1 platform/shared/rubyext/RhoRuby.h