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