X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fctsim.h;h=435f26595dd7fb6e0b68ce1a43ca284f2eecdd0d;hp=f3f808313a2f08c8ffcc7ea8602df453edbaf72f;hb=dcc87ab716636e2464e104e6d79d031b2ec6b925;hpb=c2aaf11a652d43cf38959a33fe4a1275351351d2 diff --git a/src/ctsim.h b/src/ctsim.h index f3f8083..435f265 100644 --- a/src/ctsim.h +++ b/src/ctsim.h @@ -215,9 +215,13 @@ private: void openConfig(); void closeConfig(); BackgroundManager* m_pBackgroundMgr; + bool m_bPrintCmdLineImages; + bool m_bCmdLineVerboseFlag; public: CTSimApp(); + void OnInitCmdLine(wxCmdLineParser& parser); + bool OnCmdLineParsed(wxCmdLineParser& parser); bool OnInit(); int OnExit(); MainFrame* getMainFrame() const @@ -229,8 +233,6 @@ public: wxDocManager* getDocManager() { return m_docManager; } - wxString getUntitledFilename(); - int getNumberCPU() const { return wxThread::GetCPUCount(); } EZPlotDialog* makeEZPlotDialog() @@ -239,7 +241,7 @@ public: void getCompatibleImages (const ImageFileDocument* pIFDoc, std::vector& vecIF); bool getAdvancedOptions() const { return m_bAdvancedOptions; } void setAdvancedOptions (bool bAdv) { m_bAdvancedOptions = bAdv; } - bool getVerboseLogging() const { return m_bVerboseLogging; } + bool getVerboseLogging() const { return m_bVerboseLogging || m_bCmdLineVerboseFlag; } void setVerboseLogging (bool bVerbose) { m_bVerboseLogging = bVerbose; } bool getStartupTips() const { return m_bShowStartupTips; } void setStartupTips(bool bTips) { m_bShowStartupTips = bTips; }