1 /*
2  * CRRCsim - the Charles River Radio Control Club Flight Simulator Project
3  *
4  * Copyright (C) 2010 Jens Wilhelm Wulf (original author)
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2
8  * as published by the Free Software Foundation.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place, Suite 330,
18  * Boston, MA 02111-1307, USA.
19  *
20  */
21 
22 
23 
24 #ifndef CRRC_LOADROBOT_H
25 #define CRRC_LOADROBOT_H
26 
27 #include <plib/pu.h>
28 #include <plib/puAux.h>
29 #include <vector>
30 
31 #include "crrc_dialog.h"
32 #include "puaFileBox.h"
33 
34 
35 class CGUILoadRobotDialog;
36 
37 /** \brief robot/flight log load dialog
38  *
39  */
40 class CGUILoadRobotDialog : public CRRCDialog
41 {
42 public:
43   CGUILoadRobotDialog();
44   ~CGUILoadRobotDialog();
45 
46   /**
47    *  Update the dialog when a new file is selected.
48    */
49   void  updateFileInfo();
50 
51   std::string getFilename();
52 
53   puaFileBox* files;
54   puButton* check_demo;
55 
56 private:
57 
58   puaLargeInput* description;
59   std::string description_string;
60 };
61 
62 #endif // CRRC_LOADROBOT_H
63