summaryrefslogtreecommitdiff
path: root/src/ui/rygel-preferences-section.vala
diff options
context:
space:
mode:
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>2009-05-03 00:18:22 +0300
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>2009-05-03 00:18:22 +0300
commite3b32b28f1c8d96be605d0344137973c1234337a (patch)
treea67be90a6c55edd4c64ab0c46279870329196f17 /src/ui/rygel-preferences-section.vala
parenta67ce909ed909bede722cd9c2fcca1538fe727b9 (diff)
downloadrygel-e3b32b28f1c8d96be605d0344137973c1234337a.tar.gz
Configuration is grouped sections
Configuration is now grouped in sections rather than pages.
Diffstat (limited to 'src/ui/rygel-preferences-section.vala')
-rw-r--r--src/ui/rygel-preferences-section.vala37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/ui/rygel-preferences-section.vala b/src/ui/rygel-preferences-section.vala
new file mode 100644
index 00000000..0c340b3f
--- /dev/null
+++ b/src/ui/rygel-preferences-section.vala
@@ -0,0 +1,37 @@
+/*
+ * Copyright (C) 2009 Nokia Corporation, all rights reserved.
+ *
+ * Author: Zeeshan Ali (Khattak) <zeeshanak@gnome.org>
+ * <zeeshan.ali@nokia.com>
+ *
+ * This file is part of Rygel.
+ *
+ * Rygel is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * Rygel is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+using Gtk;
+
+public abstract class Rygel.PreferencesSection : GLib.Object {
+ protected Configuration config;
+
+ public string name;
+
+ public PreferencesSection (Configuration config,
+ string name) {
+ this.name = name;
+ this.config = config;
+ }
+
+ public abstract void save ();
+}