-
Notifications
You must be signed in to change notification settings - Fork 12
/
MyGet.h
67 lines (53 loc) · 1.71 KB
/
MyGet.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
60
61
62
63
64
65
66
67
// MyGet.h : main header file for the MYGET application
//
#if !defined(AFX_MYGET_H__A95B2DED_7FD0_4DB9_8AB0_DC0C7355BA0F__INCLUDED_)
#define AFX_MYGET_H__A95B2DED_7FD0_4DB9_8AB0_DC0C7355BA0F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "CommonUtils.h"
#include "resource.h" // main symbols
#include "AppRegs.h"
//class CMainScheduleThread;
class CDownloadSchedulerThread;
/////////////////////////////////////////////////////////////////////////////
// CMyGetApp:
// See MyGet.cpp for the implementation of this class
//
class CMyGetApp : public CWinApp
{
public:
CDownloadSchedulerThread * GetDownloadSchedulerThread();
CString m_strLauchFolder;
LPCTSTR GetRscStr(LPCTSTR lpszSection, LPCTSTR lpszKey);
LPCTSTR GetRscStr(LPCTSTR lpszSection, DWORD dwKey);
CAppRegs * GetAppRegs();
CString m_strDBName;
CMyGetApp();
BOOL SaveDB();
//CDownloadScheduler *m_pDownloadScheduler;
CDownloadSchedulerThread *m_pDownloadSchedulerThread;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMyGetApp)
public:
virtual BOOL InitInstance();
virtual int ExitInstance();
//}}AFX_VIRTUAL
// Implementation
//{{AFX_MSG(CMyGetApp)
afx_msg void OnFileOpen();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CAppRegs m_AppRegs;
BOOL prv_NewDefaultDB();
BOOL prv_OpenDB(LPCTSTR lpszDBName);
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MYGET_H__A95B2DED_7FD0_4DB9_8AB0_DC0C7355BA0F__INCLUDED_)