mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-26 09:27:57 -05:00
662a9e99f5
- remove cocos2dx folder - change all include paths in cocos2d to be relative
29 lines
349 B
C++
Vendored
29 lines
349 B
C++
Vendored
#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__ */
|