Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

setinterface.h

Go to the documentation of this file.
00001 // -*- Mode: C++; c-basic-offset: 4  -*-
00002 
00003 /* setinterface.h
00004  * 
00005  * Copyright (C) 2000-2002 GConfmm Development Team
00006  *
00007  * This library is free software; you can redistribute it and/or
00008  * modify it under the terms of the GNU Library General Public
00009  * License as published by the Free Software Foundation; either
00010  * version 2 of the License, or (at your option) any later version.
00011  *
00012  * This library is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015  * Library General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU Library General Public
00018  * License along with this library; if not, write to the Free
00019  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00020  */
00021 #ifndef GCONFMM_SET_INTERFACE_H
00022 #define GCONFMM_SET_INTERFACE_H
00023 #include <gconfmm/value.h>
00024 
00025 namespace Gnome
00026 {
00027 namespace Conf
00028 {
00029 
00041 class SetInterface
00042 {
00043 public:
00044     virtual void set(const Glib::ustring& key,const Value& value) = 0;
00045     virtual void set(const Glib::ustring& key,bool what) = 0;
00046     virtual void set(const Glib::ustring& key,int what) = 0;
00047     virtual void set(const Glib::ustring& key,double what) = 0;
00048     virtual void set(const Glib::ustring& key,const Glib::ustring& what) = 0;
00049     virtual void set(const Glib::ustring& key,const Schema& what) = 0;
00050 
00051     void set(const Glib::ustring& key,const ValuePair& pair);
00052 
00053     void set_int_list(const Glib::ustring& key,const SListHandle_ValueInt& list);
00054     void set_bool_list(const Glib::ustring& key,const SListHandle_ValueBool& list);
00055     void set_float_list(const Glib::ustring& key,const SListHandle_ValueFloat& list);
00056     void set_string_list(const Glib::ustring& key,const SListHandle_ValueString& list);
00057     void set_schema_list(const Glib::ustring& key,const SListHandle_ValueSchema& list);
00058 };
00059 
00060 } /* namespace Conf */
00061 } /* namespace Gnome */
00062 
00063 #endif

Generated on Tue Feb 1 06:15:40 2005 for gconfmm by  doxygen 1.4.1