diff options
Diffstat (limited to 'Plugins/skins/SkinLib/Dialog.h')
-rw-r--r-- | Plugins/skins/SkinLib/Dialog.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/Plugins/skins/SkinLib/Dialog.h b/Plugins/skins/SkinLib/Dialog.h new file mode 100644 index 0000000..ae98077 --- /dev/null +++ b/Plugins/skins/SkinLib/Dialog.h @@ -0,0 +1,34 @@ +#ifndef __DIALOG_H__
+# define __DIALOG_H__
+
+#include <vector>
+#include "Field.h"
+
+class DialogState;
+
+
+/// It is responsible for freeing the Fields
+class Dialog
+{
+public:
+ Dialog(const char *name);
+ ~Dialog();
+
+ const char * getName() const;
+
+ std::vector<Field *> fields;
+ bool addField(Field *field);
+ Field * getField(const char *name) const;
+
+ const Size & getSize() const;
+ void setSize(const Size &size);
+
+ DialogState * createState();
+
+private:
+ const std::string name;
+ Size size;
+};
+
+
+#endif // __DIALOG_H__
|