// NightSecApp.h: interface for the CNightSecApp class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_NIGHTSECAPP_H__19178A44_7FDB_11D3_BF9E_0020182B97FC__INCLUDED_) #define AFX_NIGHTSECAPP_H__19178A44_7FDB_11D3_BF9E_0020182B97FC__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include #include #include "../common/oneinstance.h" class CNightSecApp : public CComModule { public: CNightSecApp(const string& sAppName, const string& sMtxName = _T("")); ~CNightSecApp(); virtual bool InitInstance(); virtual bool ExitInstance(); HRESULT RegisterDlls(bool bUI = true); // From ATL // LONG Unlock(); // DWORD dwThreadID; // HANDLE hEventShutdown; // void MonitorShutdown(); // bool StartMonitor(); bool bActivity; protected: const string m_sAppName; COneInstance m_oneInstance; public: CRegSettings m_settings; }; #endif // !defined(AFX_NIGHTSECAPP_H__19178A44_7FDB_11D3_BF9E_0020182B97FC__INCLUDED_)