Index: src/ch/ch.h =================================================================== diff -u -N -rb2102d724fda96a2533b866dbf1efca9f499713b -r306fbe693c70290af9de9a5779084a697de22d75 --- src/ch/ch.h (.../ch.h) (revision b2102d724fda96a2533b866dbf1efca9f499713b) +++ src/ch/ch.h (.../ch.h) (revision 306fbe693c70290af9de9a5779084a697de22d75) @@ -26,6 +26,7 @@ #include "TCommandLineParser.h" #include "../liblogger/TLogger.h" #include "../libchcore/TCoreEngine.h" +#include "TShellExtensionConfig.h" class CCopyHandlerApp : public CWinApp, public CAppHelper { @@ -48,6 +49,7 @@ logger::TLogFileDataPtr GetLogFileData() const; logger::TMultiLoggerConfigPtr GetEngineLoggerConfig() const; + TShellExtensionConfigPtr GetShellExtensionConfig() const; void RegisterShellExtension(); void UnregisterShellExtension(); @@ -73,6 +75,7 @@ logger::TMultiLoggerConfigPtr m_spAppLoggerConfig; logger::TMultiLoggerConfigPtr m_spEngineLoggerConfig; + TShellExtensionConfigPtr m_shellExtConfig; CWnd *m_pMainWindow; bool m_bComInitialized = false; @@ -103,4 +106,9 @@ return CCopyHandlerApp::GetConfig(); } +inline TShellExtensionConfigPtr GetShellExtensionConfig() +{ + return GetApp().GetShellExtensionConfig(); +} + #endif