mirror of
https://github.com/geode-sdk/geode.git
synced 2024-12-20 21:02:26 -05:00
30 lines
349 B
C
30 lines
349 B
C
|
#ifndef __CCDEVICE_H__
|
||
|
#define __CCDEVICE_H__
|
||
|
|
||
|
#include "CCPlatformMacros.h"
|
||
|
|
||
|
NS_CC_BEGIN
|
||
|
/**
|
||
|
@js NA
|
||
|
@lua NA
|
||
|
*/
|
||
|
class CC_DLL CCDevice
|
||
|
{
|
||
|
GEODE_FRIEND_MODIFY
|
||
|
private:
|
||
|
|
||
|
|
||
|
CCDevice();
|
||
|
public:
|
||
|
/**
|
||
|
* Gets the DPI of device
|
||
|
* @return The DPI of device.
|
||
|
*/
|
||
|
static int getDPI();
|
||
|
};
|
||
|
|
||
|
|
||
|
NS_CC_END
|
||
|
|
||
|
#endif /* __CCDEVICE_H__ */
|