X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=settings-dialog.h;h=9117820807b54bec5357ba8211c022329dc3eecd;hb=HEAD;hp=7a0333a5d0e894d664b76dbbca794b43c69062bf;hpb=a53241819e0eaba3cb06cf9f07c4a310e3a72677;p=simple-launcher diff --git a/settings-dialog.h b/settings-dialog.h index 7a0333a..9117820 100644 --- a/settings-dialog.h +++ b/settings-dialog.h @@ -18,22 +18,36 @@ #ifndef __SETTINGS_DIALOG_H_ #define __SETTINGS_DIALOG_H_ +#include + #include -#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 *, int, LauncherItems&); + SettingsDialog(GtkWindow *parent, LauncherItems& items, GConfBooleanOption& transparent, GConfIntegerOption& icon_size); ~SettingsDialog(); - gint run(); + gint run(); + + void updateValues(); + + void addPage(const std::string&, SettingsPage *); private: - SLAList myList; + std::vector myPages; - GtkDialog *myDialog; + GtkDialog *myDialog; + GtkNotebook *myNotebook; + + SettingsDialogBooleanEntry myTransparent; + SettingsDialogIconSizeEntry myIconSize; }; #endif + +// vim:ts=2:sw=2:et