source/code/CppSdl/CppSdlCommon.hpp
browsing at commit = 69d650b4c7a76d623f34f6a17bf7c4241110b93e
/*
* File: CppSdlCommon.hpp
* Author: poul
*
* Created on 7. december 2010, 20:12
*/
#ifndef _CPPSDLCOMMON_HPP
#define _CPPSDLCOMMON_HPP
namespace CppSdl {
class CppSdlCommon {
public:
CppSdlCommon* getInstance();
void setTime(long time);
long getTime() const;
protected:
CppSdlCommon();
private:
static CppSdlCommon *instance;
long time;
};
}//namespace
#endif /* _CPPSDLCOMMON_HPP */