started to fill in the application item
[simple-launcher] / settings-dialog.h
index 268c1f0..9117820 100644 (file)
 #ifndef __SETTINGS_DIALOG_H_
 #define __SETTINGS_DIALOG_H_
 
+#include <vector>
+
 #include <gtk/gtkdialog.h>
 
-#include "sla-list.h"
+#include "gconf-wrapper.h"
 #include "launcher-item.h"
+#include "dialog-entry.h"
+#include "settings-page.h"
 
 class SettingsDialog {
 public:
-  SettingsDialog(GtkWindow *parent, LauncherItems& items);
+  SettingsDialog(GtkWindow *parent, LauncherItems& items, GConfBooleanOption& transparent, GConfIntegerOption& icon_size);
  ~SettingsDialog();
 
   gint run();
 
+  void updateValues();
+
+  void addPage(const std::string&, SettingsPage *);
+
 private:
-  SLAList myList;
+  std::vector<SettingsPage *> myPages;
 
   GtkDialog *myDialog;
+  GtkNotebook *myNotebook;
+
+  SettingsDialogBooleanEntry myTransparent;
+  SettingsDialogIconSizeEntry myIconSize;
 };
 
 #endif