Encapsulate some classes in namespaces
[vlp.git] / src / edit / ProgramStructureDialog.h
1 #ifndef _VLP_EDITOR_PROGRAMSTRUCTUREDIALOG_H
2 #define _VLP_EDITOR_PROGRAMSTRUCTUREDIALOG_H
3
4 #include <QtGui/QDialog>
5 #include <QtCore/QString>
6
7
8 #include "ui/dialogs/ProgramStructureDialog.h"
9
10 namespace loglan {
11 namespace vlp {
12
13 /**
14  * Program Structure Dialog class
15  * Displays dialog for generating code template for program structure
16  */
17 class ProgramStructureDialog : public QDialog, private Ui::ProgramStructureDialog {
18 public:
19         /**
20          * Class constructor
21          */
22         ProgramStructureDialog(QWidget * parent = 0);
23
24         /**
25          * Class destuctor
26          */
27         ~ProgramStructureDialog();
28
29         /**
30          * Gets user-passed program name
31          * 
32          * @return program name entered in dialog
33          */
34         QString getProgramName();
35
36         /**
37          * Gets program code template
38          * 
39          * @return program code template with program name
40          */
41         QString getCode();
42 };
43
44 }
45 }
46
47 #endif /* _VLP_EDITOR_PROGRAMSTRUCTUREDIALOG_H */