Lines Matching refs:parser
45 void OnInitCmdLine(wxCmdLineParser& parser);
46 bool OnCmdLineParsed(wxCmdLineParser& parser);
78 void TestApp::OnInitCmdLine(wxCmdLineParser& parser)
80 wxAppConsole::OnInitCmdLine(parser);
100 parser.SetDesc(cmdLineDesc);
105 bool TestApp::OnCmdLineParsed(wxCmdLineParser& parser)
107 if (parser.GetParamCount())
108 for (size_t i = 0; i < parser.GetParamCount(); i++)
109 m_registries.push_back(string(parser.GetParam(i).mb_str()));
113 m_longlist = parser.Found(_T("longlist"));
114 m_list = m_longlist || parser.Found(_T("list"));
116 return wxAppConsole::OnCmdLineParsed(parser);