Index: src/ch/ch.h =================================================================== diff -u -N -r3cd8d4a64a63e4fb32d7dc96e46789c713698435 -r8dd3566d66a35a662872eaaa45eef5049e71c3dc --- src/ch/ch.h (.../ch.h) (revision 3cd8d4a64a63e4fb32d7dc96e46789c713698435) +++ src/ch/ch.h (.../ch.h) (revision 8dd3566d66a35a662872eaaa45eef5049e71c3dc) @@ -30,6 +30,7 @@ #include "../libictranslate/ResourceManager.h" #include "../libchcore/TConfig.h" #include "TShellExtensionClient.h" +#include "TCommandLineParser.h" ///////////////////////////////////////////////////////////////////////////// // CCopyHandlerApp: @@ -62,6 +63,8 @@ void OnConfigNotify(const std::set& setPropNames); void OnResManNotify(UINT uiType); + const TCommandLineParser& GetCommandLine() const { return m_cmdLineParser; } + protected: bool UpdateHelpPaths(); HWND HHelp(HWND hwndCaller, LPCTSTR pszFile, UINT uCommand, DWORD_PTR dwData); @@ -71,6 +74,7 @@ protected: HANDLE m_hMapObject; TShellExtensionClient m_tShellExtClient; + TCommandLineParser m_cmdLineParser; CWnd *m_pMainWindow;