blob: 80e9fae29e750c636cdf00caad108708b29ad4cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
// 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 <mystring.h>
#include <RegSettings.h>
#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_)
|