started to fill in the application item
[simple-launcher] / dialog-entry.h
index daa5e81..ad99ecb 100644 (file)
@@ -71,6 +71,37 @@ private:
   HildonNumberEditor *mySpinBox;
 };
 
+#if 0
+class SettingsDialogChoiceEntry : public SettingsDialogEntry {
+public:
+  SettingsDialogChoiceEntry(GConfIntegerOption& option, const std::string& name);
+
+  virtual const std::string& text(int index) const = 0;
+  virtual int numberOfChoices() const = 0;
+  virtual int initialValue() const = 0;
+
+  void updateValue();
+  GtkWidget *getWidget() const { return myWidget; }
+
+private:
+  GtkWidget *myWidget;
+};
+
+class SettingsDialogIconSizeEntry : public SettingsDialogChoiceEntry
+#endif
+
+class SettingsDialogIconSizeEntry : public SettingsDialogEntry {
+public:
+  SettingsDialogIconSizeEntry(GConfIntegerOption& option, const std::string& name);
+
+  void updateValue();
+
+  GtkWidget *getWidget() const { return myWidget; }
+
+private:
+  GtkWidget *myWidget;
+};
+
 #endif
 
 // vim:ts=2:sw=2:et