hydrobricks
Loading...
Searching...
No Matches
Hydrobricks.h
1#ifndef HYDROBRICKS_APP_H
2#define HYDROBRICKS_APP_H
3
4// For compilers that support precompilation, includes "wx/wx.h".
5#include "wx/wxprec.h"
6
7#ifdef __BORLANDC__
8#pragma hdrstop
9#endif
10
11// for all others, include the necessary headers (this file is usually all you
12// need because it includes almost all "standard" wxWidgets headers)
13#ifndef WX_PRECOMP
14#include "wx/wx.h"
15#endif
16
17#include <wx/app.h>
18#include <wx/cmdline.h>
19#include <wx/socket.h>
20
21#include "Includes.h"
22
23class Hydrobricks : public wxAppConsole {
24 public:
25 bool OnInit() override;
26
27 int OnRun() override;
28
29 int OnExit() override;
30
31 void CleanUp() override;
32
33 void OnInitCmdLine(wxCmdLineParser& parser) override;
34
35 bool OnCmdLineParsed(wxCmdLineParser& parser) override;
36
37 bool OnExceptionInMainLoop() override;
38
39 void OnFatalException() override;
40
41 void OnUnhandledException() override;
42
43 void OnDisplaySecurityMessage(wxThreadEvent& event);
44
45 protected:
46 string m_modelFile;
47 string m_parametersFile;
48 string m_basinFile;
49 string m_dataFile;
50 string m_outputPath;
51 string m_startDate;
52 string m_endDate;
53
54 private:
55};
56
57DECLARE_APP(Hydrobricks);
58
59#endif // HYDROBRICKS_APP_H
Definition Hydrobricks.h:23