<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>gconfmm: schema.h Source File</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.5 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="classes.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <h1>schema.h</h1><a href="schema_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// -*- c++ -*-</span> <a name="l00002"></a>00002 <span class="comment">// Generated by gtkmmproc -- DO NOT MODIFY!</span> <a name="l00003"></a>00003 <span class="preprocessor">#ifndef _GCONFMM_SCHEMA_H</span> <a name="l00004"></a>00004 <span class="preprocessor"></span><span class="preprocessor">#define _GCONFMM_SCHEMA_H</span> <a name="l00005"></a>00005 <span class="preprocessor"></span> <a name="l00006"></a>00006 <a name="l00007"></a>00007 <span class="preprocessor">#include <glibmm.h></span> <a name="l00008"></a>00008 <a name="l00009"></a>00009 <span class="comment">// -*- Mode: C++; c-basic-offset: 4 -*-</span> <a name="l00010"></a>00010 <span class="comment">/* $Id: schema.hg,v 1.5 2002/12/10 23:26:01 murrayc Exp $ */</span> <a name="l00011"></a>00011 <a name="l00012"></a>00012 <span class="comment">/* schema.hg</span> <a name="l00013"></a>00013 <span class="comment"> * </span> <a name="l00014"></a>00014 <span class="comment"> * Copyright (C) 2000-2002 GConfmm Development Team</span> <a name="l00015"></a>00015 <span class="comment"> *</span> <a name="l00016"></a>00016 <span class="comment"> * This library is free software; you can redistribute it and/or</span> <a name="l00017"></a>00017 <span class="comment"> * modify it under the terms of the GNU Library General Public</span> <a name="l00018"></a>00018 <span class="comment"> * License as published by the Free Software Foundation; either</span> <a name="l00019"></a>00019 <span class="comment"> * version 2 of the License, or (at your option) any later version.</span> <a name="l00020"></a>00020 <span class="comment"> *</span> <a name="l00021"></a>00021 <span class="comment"> * This library is distributed in the hope that it will be useful,</span> <a name="l00022"></a>00022 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span> <a name="l00023"></a>00023 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span> <a name="l00024"></a>00024 <span class="comment"> * Library General Public License for more details.</span> <a name="l00025"></a>00025 <span class="comment"> *</span> <a name="l00026"></a>00026 <span class="comment"> * You should have received a copy of the GNU Library General Public</span> <a name="l00027"></a>00027 <span class="comment"> * License along with this library; if not, write to the Free</span> <a name="l00028"></a>00028 <span class="comment"> * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.</span> <a name="l00029"></a>00029 <span class="comment"> */</span> <a name="l00030"></a>00030 <a name="l00031"></a>00031 <span class="preprocessor">#include <<a class="code" href="value_8h.html">gconfmm/value.h</a>></span> <a name="l00032"></a>00032 <a name="l00033"></a>00033 <a name="l00034"></a>00034 <span class="keyword">extern</span> <span class="stringliteral">"C"</span> { <a name="l00035"></a>00035 <span class="comment">// TODO: do not include this.</span> <a name="l00036"></a>00036 <span class="preprocessor">#include <gconf/gconf-schema.h></span> <a name="l00037"></a>00037 } <a name="l00038"></a>00038 <a name="l00039"></a>00039 <span class="keyword">namespace </span>Gnome <a name="l00040"></a>00040 { <a name="l00041"></a>00041 <a name="l00042"></a>00042 <span class="keyword">namespace </span>Conf <a name="l00043"></a>00043 { <a name="l00044"></a>00044 <a name="l00045"></a>00045 <span class="keyword">class </span>Value; <a name="l00046"></a>00046 <a name="l00047"></a><a class="code" href="classGnome_1_1Conf_1_1Schema.html">00047</a> <span class="keyword">class </span><a class="code" href="classGnome_1_1Conf_1_1Schema.html">Schema</a> <a name="l00048"></a>00048 { <a name="l00049"></a>00049 <span class="keyword">public</span>: <a name="l00050"></a>00050 <span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span> <a name="l00051"></a>00051 <span class="preprocessor"></span> <span class="keyword">typedef</span> <a class="code" href="classGnome_1_1Conf_1_1Schema.html">Schema</a> CppObjectType; <a name="l00052"></a>00052 <span class="keyword">typedef</span> GConfSchema BaseObjectType; <a name="l00053"></a>00053 <span class="preprocessor">#endif </span><span class="comment">/* DOXYGEN_SHOULD_SKIP_THIS */</span> <a name="l00054"></a>00054 <a name="l00055"></a>00055 <a class="code" href="classGnome_1_1Conf_1_1Schema.html#56e0056ead7366b1a39d7a2bf63770a7">Schema</a>(); <a name="l00056"></a>00056 <a name="l00057"></a>00057 <span class="comment">// Use make_a_copy=true when getting it directly from a struct.</span> <a name="l00058"></a>00058 <span class="keyword">explicit</span> <a class="code" href="classGnome_1_1Conf_1_1Schema.html#56e0056ead7366b1a39d7a2bf63770a7">Schema</a>(GConfSchema* castitem, <span class="keywordtype">bool</span> make_a_copy = <span class="keyword">false</span>); <a name="l00059"></a>00059 <a name="l00060"></a>00060 <a class="code" href="classGnome_1_1Conf_1_1Schema.html#56e0056ead7366b1a39d7a2bf63770a7">Schema</a>(<span class="keyword">const</span> <a class="code" href="classGnome_1_1Conf_1_1Schema.html">Schema</a>& src); <a name="l00061"></a>00061 <a class="code" href="classGnome_1_1Conf_1_1Schema.html">Schema</a>& <a class="code" href="classGnome_1_1Conf_1_1Schema.html#79b0ac48480b1408238a88626cb2b4fa">operator=</a>(<span class="keyword">const</span> <a class="code" href="classGnome_1_1Conf_1_1Schema.html">Schema</a>& src); <a name="l00062"></a>00062 <a name="l00063"></a>00063 <a class="code" href="classGnome_1_1Conf_1_1Schema.html#57b54b8c084dcfed625f24aa58439fcb">~Schema</a>(); <a name="l00064"></a>00064 <a name="l00065"></a><a class="code" href="classGnome_1_1Conf_1_1Schema.html#6900c3e818c493a715951d03f36c6d88">00065</a> GConfSchema* <a class="code" href="classGnome_1_1Conf_1_1Schema.html#6900c3e818c493a715951d03f36c6d88">gobj</a>() { <span class="keywordflow">return</span> <a class="code" href="classGnome_1_1Conf_1_1Schema.html#8ebc53882c55fa73f529a13fc2710c06">gobject_</a>; } <a name="l00066"></a><a class="code" href="classGnome_1_1Conf_1_1Schema.html#63c1dd1ab7088ec0c8f310611acfb457">00066</a> <span class="keyword">const</span> GConfSchema* <a class="code" href="classGnome_1_1Conf_1_1Schema.html#6900c3e818c493a715951d03f36c6d88">gobj</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classGnome_1_1Conf_1_1Schema.html#8ebc53882c55fa73f529a13fc2710c06">gobject_</a>; } <a name="l00067"></a>00067 <a name="l00069"></a>00069 GConfSchema* <a class="code" href="classGnome_1_1Conf_1_1Schema.html#ce1f3fc9a78fa77b2319b24c2c169649" title="Provides access to the underlying C instance. The caller is responsible for freeing...">gobj_copy</a>() <span class="keyword">const</span>; <a name="l00070"></a>00070 <a name="l00071"></a>00071 <span class="keyword">protected</span>: <a name="l00072"></a><a class="code" href="classGnome_1_1Conf_1_1Schema.html#8ebc53882c55fa73f529a13fc2710c06">00072</a> GConfSchema* <a class="code" href="classGnome_1_1Conf_1_1Schema.html#8ebc53882c55fa73f529a13fc2710c06">gobject_</a>; <a name="l00073"></a>00073 <a name="l00074"></a>00074 <span class="keyword">private</span>: <a name="l00075"></a>00075 <a name="l00076"></a>00076 <a name="l00077"></a>00077 <span class="keyword">public</span>: <a name="l00078"></a>00078 <a name="l00079"></a>00079 <span class="keywordtype">void</span> <a class="code" href="classGnome_1_1Conf_1_1Schema.html#b226ae3971c4cf9858a5dfae1f674d53">set_type</a>(<a class="code" href="group__gconfmmEnums.html#g20fb20bb54017f616a098ecec72927a1">ValueType</a> type); <a name="l00080"></a>00080 <a name="l00081"></a>00081 <span class="keywordtype">void</span> <a class="code" href="classGnome_1_1Conf_1_1Schema.html#6a5a3afa06f6dd16987b55730738fe12">set_list_type</a>(<a class="code" href="group__gconfmmEnums.html#g20fb20bb54017f616a098ecec72927a1">ValueType</a> type); <a name="l00082"></a>00082 <a name="l00083"></a>00083 <span class="keywordtype">void</span> <a class="code" href="classGnome_1_1Conf_1_1Schema.html#0652880a9dcf485170937274fe8c5cc7">set_car_type</a>(<a class="code" href="group__gconfmmEnums.html#g20fb20bb54017f616a098ecec72927a1">ValueType</a> type); <a name="l00084"></a>00084 <a name="l00085"></a>00085 <span class="keywordtype">void</span> <a class="code" href="classGnome_1_1Conf_1_1Schema.html#08f6aa6c612f648dd673351f5b418182">set_cdr_type</a>(<a class="code" href="group__gconfmmEnums.html#g20fb20bb54017f616a098ecec72927a1">ValueType</a> type); <a name="l00086"></a>00086 <a name="l00087"></a>00087 <span class="keywordtype">void</span> <a class="code" href="classGnome_1_1Conf_1_1Schema.html#4b33f10efbd2d6488984728eb8b2ae9a">set_locale</a>(<span class="keyword">const</span> std::string& locale); <a name="l00088"></a>00088 <a name="l00089"></a>00089 <span class="keywordtype">void</span> <a class="code" href="classGnome_1_1Conf_1_1Schema.html#849637d9012576fa5f9792aa80a2a5ed">set_short_desc</a>(<span class="keyword">const</span> Glib::ustring& desc); <a name="l00090"></a>00090 <a name="l00091"></a>00091 <span class="keywordtype">void</span> <a class="code" href="classGnome_1_1Conf_1_1Schema.html#b345fe896b626fe7fa003323bd446ade">set_long_desc</a>(<span class="keyword">const</span> Glib::ustring& desc); <a name="l00092"></a>00092 <a name="l00093"></a>00093 <span class="keywordtype">void</span> <a class="code" href="classGnome_1_1Conf_1_1Schema.html#8e534b114a8474d107a1cbd0482fdce2">set_owner</a>(<span class="keyword">const</span> Glib::ustring& owner); <a name="l00094"></a>00094 <a name="l00095"></a>00095 <span class="keywordtype">void</span> <a class="code" href="classGnome_1_1Conf_1_1Schema.html#328396689ae258fd4e1e21184a97a8b4">set_default_value</a>(<span class="keyword">const</span> <a class="code" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a>& value); <a name="l00096"></a>00096 <a name="l00097"></a>00097 <a name="l00098"></a>00098 <a class="code" href="group__gconfmmEnums.html#g20fb20bb54017f616a098ecec72927a1">ValueType</a> <a class="code" href="classGnome_1_1Conf_1_1Schema.html#b329ae7a1db706b42df76d051fbd13b4">get_type</a>() <span class="keyword">const</span>; <a name="l00099"></a>00099 <a name="l00100"></a>00100 <a class="code" href="group__gconfmmEnums.html#g20fb20bb54017f616a098ecec72927a1">ValueType</a> <a class="code" href="classGnome_1_1Conf_1_1Schema.html#c3f3f947f11a47be075a9f85b37a2b97">get_list_type</a>() <span class="keyword">const</span>; <a name="l00101"></a>00101 <a name="l00102"></a>00102 <a class="code" href="group__gconfmmEnums.html#g20fb20bb54017f616a098ecec72927a1">ValueType</a> <a class="code" href="classGnome_1_1Conf_1_1Schema.html#a7a6ded0e86e3e94aee976aafda52d89">get_car_type</a>() <span class="keyword">const</span>; <a name="l00103"></a>00103 <a name="l00104"></a>00104 <a class="code" href="group__gconfmmEnums.html#g20fb20bb54017f616a098ecec72927a1">ValueType</a> <a class="code" href="classGnome_1_1Conf_1_1Schema.html#b332b8b3a819507dad516e3f4ec96b29">get_cdr_type</a>() <span class="keyword">const</span>; <a name="l00105"></a>00105 <a name="l00106"></a>00106 std::string <a class="code" href="classGnome_1_1Conf_1_1Schema.html#878680d76f0fc0b6cf8267262d0b1015">get_locale</a>() <span class="keyword">const</span>; <a name="l00107"></a>00107 <a name="l00108"></a>00108 Glib::ustring <a class="code" href="classGnome_1_1Conf_1_1Schema.html#9fb241d2be2c811d0905e86118ac89a4">get_short_desc</a>() <span class="keyword">const</span>; <a name="l00109"></a>00109 <a name="l00110"></a>00110 Glib::ustring <a class="code" href="classGnome_1_1Conf_1_1Schema.html#70a94466a1adbfafec9df2c49d4bf062">get_long_desc</a>() <span class="keyword">const</span>; <a name="l00111"></a>00111 <a name="l00112"></a>00112 Glib::ustring <a class="code" href="classGnome_1_1Conf_1_1Schema.html#3d736e0e5f3012a5d6601cb7a11c2fcb">get_owner</a>() <span class="keyword">const</span>; <a name="l00113"></a>00113 <a name="l00114"></a>00114 <a class="code" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a> <a class="code" href="classGnome_1_1Conf_1_1Schema.html#f7ca41609a9566d65c905d6f8abceb76">get_default_value</a>() <span class="keyword">const</span>; <a name="l00115"></a>00115 <a name="l00116"></a>00116 <a name="l00117"></a>00117 }; <a name="l00118"></a>00118 <a name="l00119"></a>00119 <a name="l00120"></a>00120 } <span class="comment">/* namespace Conf */</span> <a name="l00121"></a>00121 } <span class="comment">/* namespace Gnome */</span> <a name="l00122"></a>00122 <a name="l00123"></a>00123 <a name="l00124"></a>00124 <span class="keyword">namespace </span>Glib <a name="l00125"></a>00125 { <a name="l00126"></a>00126 <a name="l00135"></a>00135 <a class="code" href="classGnome_1_1Conf_1_1Schema.html">Gnome::Conf::Schema</a> wrap(GConfSchema* <span class="keywordtype">object</span>, <span class="keywordtype">bool</span> take_copy = <span class="keyword">false</span>); <a name="l00136"></a>00136 <a name="l00137"></a>00137 } <span class="comment">// namespace Glib</span> <a name="l00138"></a>00138 <a name="l00139"></a>00139 <a name="l00140"></a>00140 <span class="preprocessor">#endif </span><span class="comment">/* _GCONFMM_SCHEMA_H */</span> <a name="l00141"></a>00141 </pre></div></div> <hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 9 14:41:20 2008 for gconfmm by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address> </body> </html>