Debian Codegraph @

src/GUI/PUIFileDialog.hxx

raw symbols SCIP
1 // PUIFileDialog.hxx - file dialog implemented using PUI
2
3 #ifndef FG_PUI_FILE_DIALOG_HXX
4 #define FG_PUI_FILE_DIALOG_HXX 1
5
6 #include <simgear/props/props.hxx>
7 #include <GUI/FileDialog.hxx>
8
9 class PUIFileDialog : public FGFileDialog
10 {
11 public:
12 PUIFileDialog(FGFileDialog::Usage use);
13
14 virtual ~PUIFileDialog();
15
16 virtual void exec();
17 virtual void close();
18 private:
19 class PathListener;
20 friend class PathListener;
21
22 // called by the listener
23 void pathChanged(const SGPath& aPath);
24
25
26 SGPropertyNode_ptr _dialogRoot;
27 PathListener* _listener;
28 };
29
30 #endif // FG_PUI_FILE_DIALOG_HXX