#pragma once #include #include namespace SRFramework{ #define SR_NON_INSTANCE 0 class SRApp { public: SRApp(HINSTANCE hInstance); virtual ~SRApp(); virtual WPARAM Run(); static HINSTANCE GetInstanceHandle() { return s_hInstance; } protected: static HINSTANCE s_hInstance; HACCEL m_hAccelTable; static SHACTIVATEINFO s_sai; }; }