1 #ifndef _VLP_EDITOR_UNITSTRUCTUREDIALOG_H
2 #define _VLP_EDITOR_UNITSTRUCTUREDIALOG_H
4 #include <QtGui/QDialog>
5 #include <QtCore/QString>
7 #include "ui/dialogs/UnitStructureDialog.h"
10 * Program Unit Dialog class
11 * Displays dialog for generating code template for unit structure
13 class UnitStructureDialog : public QDialog, private Ui::UnitStructureDialog {
18 UnitStructureDialog(QWidget * parent = 0);
23 ~UnitStructureDialog();
26 * Gets user-passed unit name
28 * @return unit name entered in dialog
30 QString getUnitName();
33 * Gets unit code template
35 * @return unit code template with unit name
40 #endif /* _VLP_EDITOR_PROGRAMSTRUCTUREDIALOG_H */