-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathObjectEditor.h
More file actions
executable file
·71 lines (51 loc) · 1.52 KB
/
Copy pathObjectEditor.h
File metadata and controls
executable file
·71 lines (51 loc) · 1.52 KB
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
68
69
70
71
// ObjectEditor.h : main header file for the OBJECTEDITOR application
//
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main symbols
#include "CarTree.h"
/////////////////////////////////////////////////////////////////////////////
// CObjectEditorApp:
// See ObjectEditor.cpp for the implementation of this class
//
class CObjectEditorApp : public CWinApp
{
public:
CObjectEditorApp();
void LoadImages();
CImageList* pImageList;
CImageList* getSharedImageList()
{
return pImageList;
}
void OnJamView(CDocument *pDoc);
CCarTree *m_MainTree;
CString getGP2Location()
{
CString strSection = "Preferences";
CString strStringItem = "GP2Location";
CWinApp* pApp = AfxGetApp();
CString circuitsDir = pApp->GetProfileString(strSection, strStringItem,"c:\\gp2\\");
return circuitsDir;
}
void OnEditLocation();
void OnStartHelp(BOOL reposition);
void OnHelpContentString(CString url);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CObjectEditorApp)
public:
virtual BOOL InitInstance();
//}}AFX_VIRTUAL
// Implementation
//{{AFX_MSG(CObjectEditorApp)
afx_msg void OnAppAbout();
afx_msg void OnEditEditgp2location();
afx_msg void OnHelp();
afx_msg void OnHelpCredits();
afx_msg void OnFileNew();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////