📄 globalstorage.h
字号:
#ifndef _LANG_GLOBALSTORAGE_H
#define _LANG_GLOBALSTORAGE_H
namespace hgr {class Globals;}
namespace lang {class Globals;}
namespace lang
{
/**
* Storage for global variables.
* Dependency to users in the name only.
*/
class GlobalStorage
{
public:
hgr::Globals* hgrGlobals;
lang::Globals* langGlobals;
void* userGlobals;
GlobalStorage();
/** Returns global storage singleton. */
static GlobalStorage& get();
private:
#ifndef __SYMBIAN32__
static GlobalStorage sm_instance;
#endif
};
#ifndef __SYMBIAN32__
inline GlobalStorage& GlobalStorage::get() {return sm_instance;}
#endif
} // lang
#endif // _LANG_GLOBALSTORAGE_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -