source/code/CppSdl/CppSdlCommon.hpp
browsing at commit = 1df281513d126d07fb185776dffebd96bd8773c3
/*
* 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 */