Sha256: d62545c5853a00e63445ac3df7ce01fc7ed96e3e4cc79dbd144a49a8a455b10b

Contents?: true

Size: 452 Bytes

Versions: 21

Compression:

Stored size: 452 Bytes

Contents

#pragma once

#include "common/ISystemInfo.h"

extern "C" int rho_sys_get_screen_width();
extern "C" int rho_sys_get_screen_height();
//extern VALUE rho_sys_get_property(char* property);

namespace rho{
namespace common{

class CSystemInfoImpl : public ISystemInfo
{
public:
    String getPlatform() { return "Wince"; }
	int getScreenWidth() { return rho_sys_get_screen_width(); }
	int getScreenHeight() { return rho_sys_get_screen_height(); }
};

}
}

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
rhodes-2.0.3 platform/wm/rhodes/rho/common/SystemInfoImpl.h
rhodes-2.0.2 platform/wm/rhodes/rho/common/SystemInfoImpl.h
rhodes-2.0.0 platform/wm/rhodes/rho/common/SystemInfoImpl.h
rhodes-2.0.0.rc2 platform/wm/rhodes/rho/common/SystemInfoImpl.h
rhodes-2.0.0.rc1 platform/wm/rhodes/rho/common/SystemInfoImpl.h
rhodes-2.0.0.beta11 platform/wm/rhodes/rho/common/SystemInfoImpl.h
rhodes-2.0.0.beta10 platform/wm/rhodes/rho/common/SystemInfoImpl.h
rhodes-2.0.0.beta9 platform/wm/rhodes/rho/common/SystemInfoImpl.h
rhodes-2.0.0.beta8 platform/wm/rhodes/rho/common/SystemInfoImpl.h
rhodes-2.0.0.beta7 platform/wm/rhodes/rho/common/SystemInfoImpl.h
rhodes-2.0.0.beta6 platform/wm/rhodes/rho/common/SystemInfoImpl.h
rhodes-2.0.0.beta4 platform/wm/rhodes/rho/common/SystemInfoImpl.h
rhodes-2.0.0.beta3 platform/wm/rhodes/rho/common/SystemInfoImpl.h
rhodes-1.5.5 platform/wm/rhodes/rho/common/SystemInfoImpl.h
rhodes-2.0.0.beta2 platform/wm/rhodes/rho/common/SystemInfoImpl.h
rhodes-2.0.0.beta1 platform/wm/rhodes/rho/common/SystemInfoImpl.h
rhodes-1.5.4 platform/wm/rhodes/rho/common/SystemInfoImpl.h
rhodes-1.5.3 platform/wm/rhodes/rho/common/SystemInfoImpl.h
rhodes-1.5.2 platform/wm/rhodes/rho/common/SystemInfoImpl.h
rhodes-1.5.1 platform/wm/rhodes/rho/common/SystemInfoImpl.h