|
| |
26 |
26 |
#include "TCommandLineParser.h" |
|
|
| |
27 |
27 |
#include "../liblogger/TLogger.h" |
|
|
| |
28 |
28 |
#include "../libchcore/TCoreEngine.h" |
|
| |
|
29 |
#include "TShellExtensionConfig.h" |
|
|
| |
29 |
30 |
|
|
|
| |
30 |
31 |
class CCopyHandlerApp : public CWinApp, public CAppHelper |
|
|
| |
31 |
32 |
{ |
| |
|
|
| |
48 |
49 |
|
|
|
| |
49 |
50 |
logger::TLogFileDataPtr GetLogFileData() const; |
|
|
| |
50 |
51 |
logger::TMultiLoggerConfigPtr GetEngineLoggerConfig() const; |
|
| |
|
52 |
TShellExtensionConfigPtr GetShellExtensionConfig() const; |
|
|
| |
51 |
53 |
|
|
|
| |
52 |
54 |
void RegisterShellExtension(); |
|
|
| |
53 |
55 |
void UnregisterShellExtension(); |
| |
|
|
| |
73 |
75 |
|
|
|
| |
74 |
76 |
logger::TMultiLoggerConfigPtr m_spAppLoggerConfig; |
|
|
| |
75 |
77 |
logger::TMultiLoggerConfigPtr m_spEngineLoggerConfig; |
|
| |
|
78 |
TShellExtensionConfigPtr m_shellExtConfig; |
|
|
| |
76 |
79 |
|
|
|
| |
77 |
80 |
CWnd *m_pMainWindow; |
|
|
| |
78 |
81 |
bool m_bComInitialized = false; |
| |
|
|
| |
103 |
106 |
return CCopyHandlerApp::GetConfig(); |
|
|
| |
104 |
107 |
} |
|
|
| |
105 |
108 |
|
|
| |
|
109 |
inline TShellExtensionConfigPtr GetShellExtensionConfig() |
|
|
| |
|
110 |
{ |
|
|
| |
|
111 |
return GetApp().GetShellExtensionConfig(); |
|
|
| |
|
112 |
} |
|
|
| |
|
113 |
|
|
| |
106 |
114 |
#endif |