Sha256: 12f86a26f955b270cb04ecec888f01bacd3dfb58df2f183095547388a4e87c93

Contents?: true

Size: 1.16 KB

Versions: 17

Compression:

Stored size: 1.16 KB

Contents

#include "generated/cpp/SystemBase.h"
#include "SystemImplBase.h"

namespace rho {

using namespace rho::apiGenerator;

struct System
{
    static ISystemSingleton* getSystemObj(){ return CSystemFactoryBase::getSystemSingletonS(); }

    static rho::String getPlatform(){ rho::apiGenerator::CMethodResult oResult(true); getSystemObj()->getPlatform(oResult); return oResult.getString(); }
    static rho::String getDeviceName(){ rho::apiGenerator::CMethodResult oResult(true); getSystemObj()->getDeviceName(oResult); return oResult.getString(); }
    static rho::String getOsVersion(){ rho::apiGenerator::CMethodResult oResult(true); getSystemObj()->getOsVersion(oResult); return oResult.getString(); }
    static rho::String getPhoneId(){ rho::apiGenerator::CMethodResult oResult(true); getSystemObj()->getPhoneId(oResult); return oResult.getString(); }
    static rho::String getWebviewFramework(){ rho::apiGenerator::CMethodResult oResult(true); getSystemObj()->getWebviewFramework(oResult); return oResult.getString(); }
    static bool getIsRhoSimulator(){ rho::apiGenerator::CMethodResult oResult(true); getSystemObj()->getIsRhoSimulator(oResult); return oResult.getBool(); }
};

}

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
rhodes-7.6.0 lib/commonAPI/coreapi/ext/shared/System.h
rhodes-7.5.1 lib/commonAPI/coreapi/ext/shared/System.h
rhodes-7.4.1 lib/commonAPI/coreapi/ext/shared/System.h
rhodes-7.1.17 lib/commonAPI/coreapi/ext/shared/System.h
rhodes-6.2.0 lib/commonAPI/coreapi/ext/shared/System.h
rhodes-6.0.11 lib/commonAPI/coreapi/ext/shared/System.h
rhodes-5.5.18 lib/commonAPI/coreapi/ext/shared/System.h
rhodes-5.5.17 lib/commonAPI/coreapi/ext/shared/System.h
rhodes-5.5.15 lib/commonAPI/coreapi/ext/shared/System.h
rhodes-5.5.0.22 lib/commonAPI/coreapi/ext/shared/System.h
rhodes-5.5.2 lib/commonAPI/coreapi/ext/shared/System.h
rhodes-5.5.0.7 lib/commonAPI/coreapi/ext/shared/System.h
rhodes-5.5.0.3 lib/commonAPI/coreapi/ext/shared/System.h
rhodes-5.5.0 lib/commonAPI/coreapi/ext/shared/System.h
tauplatform-1.0.3 lib/commonAPI/coreapi/ext/shared/System.h
tauplatform-1.0.2 lib/commonAPI/coreapi/ext/shared/System.h
tauplatform-1.0.1 lib/commonAPI/coreapi/ext/shared/System.h