-
Notifications
You must be signed in to change notification settings - Fork 1
/
Gnucleus.h
60 lines (41 loc) · 1.1 KB
/
Gnucleus.h
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#pragma once
#include "resource.h" // main symbols
class CGnucleusDoc;
class CGnucleusApp : public CWinApp
{
public:
CGnucleusApp();
~CGnucleusApp();
CGnucleusDoc* m_pDoc;
CMultiDocTemplate* m_pConnectTemplate;
CMultiDocTemplate* m_pStatisticsTemplate;
CMultiDocTemplate* m_pShareTemplate;
CMultiDocTemplate* m_pTransfersTemplate;
CMultiDocTemplate* m_pSearchTemplate;
CMultiDocTemplate* m_pChatTemplate;
CMultiDocTemplate* m_pBrowserTemplate;
bool m_Min;
//{{AFX_VIRTUAL(CGnucleusApp)
public:
virtual BOOL InitInstance();
virtual BOOL PreTranslateMessage(MSG* pMsg);
//}}AFX_VIRTUAL
//{{AFX_MSG(CGnucleusApp)
afx_msg void OnAppAbout();
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
void LoadTemplates();
bool InstanceRunning();
HANDLE m_hMutex;
};
// Got this from MSDN
class CMyCmdLineInfo : public CCommandLineInfo
{
public:
virtual void ParseParam(LPCSTR pszParam, BOOL bFlag, BOOL bLast);
CGnucleusApp* m_App;
bool m_Minimize;
};