<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>libgtksourceviewmm: sourcestylescheme.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.6 --> <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="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <h1>sourcestylescheme.h</h1><a href="sourcestylescheme_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 _GTKSOURCEVIEWMM_SOURCESTYLESCHEME_H</span> <a name="l00004"></a>00004 <span class="preprocessor"></span><span class="preprocessor">#define _GTKSOURCEVIEWMM_SOURCESTYLESCHEME_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">/* sourcestylescheme.hg</span> <a name="l00010"></a>00010 <span class="comment"> * </span> <a name="l00011"></a>00011 <span class="comment"> * Copyright (C) 2004-2005 Jae Jang</span> <a name="l00012"></a>00012 <span class="comment"> * Copyright (C) 2005-2006 Rob Page</span> <a name="l00013"></a>00013 <span class="comment"> * Copyright (C)2006 Dodji Seketeli</span> <a name="l00014"></a>00014 <span class="comment"> *</span> <a name="l00015"></a>00015 <span class="comment"> * This library is free software; you can redistribute it and/or</span> <a name="l00016"></a>00016 <span class="comment"> * modify it under the terms of the GNU Library General Public</span> <a name="l00017"></a>00017 <span class="comment"> * License as published by the Free Software Foundation; either</span> <a name="l00018"></a>00018 <span class="comment"> * version 2 of the License, or (at your option) any later version.</span> <a name="l00019"></a>00019 <span class="comment"> *</span> <a name="l00020"></a>00020 <span class="comment"> * This library is distributed in the hope that it will be useful,</span> <a name="l00021"></a>00021 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span> <a name="l00022"></a>00022 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span> <a name="l00023"></a>00023 <span class="comment"> * Library General Public License for more details.</span> <a name="l00024"></a>00024 <span class="comment"> *</span> <a name="l00025"></a>00025 <span class="comment"> * You should have received a copy of the GNU Library General Public</span> <a name="l00026"></a>00026 <span class="comment"> * License along with this library; if not, write to the Free</span> <a name="l00027"></a>00027 <span class="comment"> * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.</span> <a name="l00028"></a>00028 <span class="comment"> */</span> <a name="l00029"></a>00029 <a name="l00032"></a>00032 <a name="l00033"></a>00033 <span class="preprocessor">#include <glibmm/interface.h></span> <a name="l00034"></a>00034 <span class="preprocessor">#include <<a class="code" href="sourcestyle_8h.html">gtksourceviewmm/sourcestyle.h</a>></span> <a name="l00035"></a>00035 <span class="preprocessor">#include <gtksourceview/gtksourcestylescheme.h></span> <a name="l00036"></a>00036 <a name="l00037"></a>00037 <a name="l00038"></a>00038 <span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span> <a name="l00039"></a><a class="code" href="sourcestylescheme_8h.html#7f742a02fc4d9b91ed600a81b78aa0fb">00039</a> <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>_GtkSourceStyleScheme <a class="code" href="sourcestylescheme_8h.html#7f742a02fc4d9b91ed600a81b78aa0fb">GtkSourceStyleScheme</a>; <a name="l00040"></a><a class="code" href="sourcestylescheme_8h.html#00fab8d7b8fb08aac73f9109f1dafebf">00040</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>_GtkSourceStyleSchemeClass <a class="code" href="sourcestylescheme_8h.html#00fab8d7b8fb08aac73f9109f1dafebf">GtkSourceStyleSchemeClass</a>; <a name="l00041"></a>00041 <span class="preprocessor">#endif </span><span class="comment">/* DOXYGEN_SHOULD_SKIP_THIS */</span> <a name="l00042"></a>00042 <a name="l00043"></a>00043 <a name="l00044"></a>00044 <span class="keyword">namespace </span>gtksourceview <a name="l00045"></a>00045 { <span class="keyword">class </span>SourceStyleScheme_Class; } <span class="comment">// namespace gtksourceview</span> <a name="l00046"></a>00046 <span class="keyword">namespace </span>gtksourceview <a name="l00047"></a>00047 { <a name="l00048"></a>00048 <a name="l00050"></a>00050 <a name="l00051"></a><a class="code" href="classgtksourceview_1_1SourceStyleScheme.html">00051</a> <span class="keyword">class </span><a class="code" href="classgtksourceview_1_1SourceStyleScheme.html" title="the styling properties applicable to a SourceLanguage.">SourceStyleScheme</a> : <span class="keyword">public</span> Glib::Interface <a name="l00052"></a>00052 { <a name="l00053"></a>00053 <a name="l00054"></a>00054 <a name="l00055"></a>00055 <span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span> <a name="l00056"></a>00056 <span class="preprocessor"></span> <a name="l00057"></a>00057 <span class="keyword">public</span>: <a name="l00058"></a><a class="code" href="classgtksourceview_1_1SourceStyleScheme.html#0e615823bd8cbbaf16da68eb22cf513d">00058</a> <span class="keyword">typedef</span> <a class="code" href="classgtksourceview_1_1SourceStyleScheme.html" title="the styling properties applicable to a SourceLanguage.">SourceStyleScheme</a> <a class="code" href="classgtksourceview_1_1SourceStyleScheme.html" title="the styling properties applicable to a SourceLanguage.">CppObjectType</a>; <a name="l00059"></a><a class="code" href="classgtksourceview_1_1SourceStyleScheme.html#beaecfcca8c0b3800f871127d71bba0c">00059</a> <span class="keyword">typedef</span> <a class="code" href="classgtksourceview_1_1SourceStyleScheme.html#efbb5bb2cda6318da4d9003106f725f8">SourceStyleScheme_Class</a> <a class="code" href="classgtksourceview_1_1SourceStyleScheme.html#beaecfcca8c0b3800f871127d71bba0c">CppClassType</a>; <a name="l00060"></a><a class="code" href="classgtksourceview_1_1SourceStyleScheme.html#0263c24602fd3af0e6b3e298efc3b7aa">00060</a> <span class="keyword">typedef</span> <a class="code" href="sourcestylescheme_8h.html#7f742a02fc4d9b91ed600a81b78aa0fb">GtkSourceStyleScheme</a> <a class="code" href="classgtksourceview_1_1SourceStyleScheme.html#0263c24602fd3af0e6b3e298efc3b7aa">BaseObjectType</a>; <a name="l00061"></a><a class="code" href="classgtksourceview_1_1SourceStyleScheme.html#1ba4ff5afa3e92bfb0466370dcdd5751">00061</a> <span class="keyword">typedef</span> GTypeInterface <a class="code" href="classgtksourceview_1_1SourceStyleScheme.html#1ba4ff5afa3e92bfb0466370dcdd5751">BaseClassType</a>; <a name="l00062"></a>00062 <a name="l00063"></a>00063 <span class="keyword">private</span>: <a name="l00064"></a><a class="code" href="classgtksourceview_1_1SourceStyleScheme.html#efbb5bb2cda6318da4d9003106f725f8">00064</a> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classgtksourceview_1_1SourceStyleScheme.html#efbb5bb2cda6318da4d9003106f725f8">SourceStyleScheme_Class</a>; <a name="l00065"></a>00065 <span class="keyword">static</span> <a class="code" href="classgtksourceview_1_1SourceStyleScheme.html#beaecfcca8c0b3800f871127d71bba0c">CppClassType</a> sourcestylescheme_class_; <a name="l00066"></a>00066 <a name="l00067"></a>00067 <span class="comment">// noncopyable</span> <a name="l00068"></a>00068 <a class="code" href="classgtksourceview_1_1SourceStyleScheme.html#5c90b19c7fade5a68e505f91bef22379">SourceStyleScheme</a>(<span class="keyword">const</span> <a class="code" href="classgtksourceview_1_1SourceStyleScheme.html" title="the styling properties applicable to a SourceLanguage.">SourceStyleScheme</a>&); <a name="l00069"></a>00069 <a class="code" href="classgtksourceview_1_1SourceStyleScheme.html" title="the styling properties applicable to a SourceLanguage.">SourceStyleScheme</a>& operator=(<span class="keyword">const</span> <a class="code" href="classgtksourceview_1_1SourceStyleScheme.html" title="the styling properties applicable to a SourceLanguage.">SourceStyleScheme</a>&); <a name="l00070"></a>00070 <a name="l00071"></a>00071 <span class="keyword">protected</span>: <a name="l00072"></a>00072 <a class="code" href="classgtksourceview_1_1SourceStyleScheme.html#5c90b19c7fade5a68e505f91bef22379">SourceStyleScheme</a>(); <span class="comment">// you must derive from this class</span> <a name="l00073"></a>00073 <a name="l00080"></a>00080 <span class="keyword">explicit</span> <a class="code" href="classgtksourceview_1_1SourceStyleScheme.html#5c90b19c7fade5a68e505f91bef22379">SourceStyleScheme</a>(<span class="keyword">const</span> Glib::Interface_Class& interface_class); <a name="l00081"></a>00081 <a name="l00082"></a>00082 <span class="keyword">public</span>: <a name="l00083"></a>00083 <span class="comment">// This is public so that C++ wrapper instances can be</span> <a name="l00084"></a>00084 <span class="comment">// created for C instances of unwrapped types.</span> <a name="l00085"></a>00085 <span class="comment">// For instance, if an unexpected C type implements the C interface. </span> <a name="l00086"></a>00086 <span class="keyword">explicit</span> <a class="code" href="classgtksourceview_1_1SourceStyleScheme.html#5c90b19c7fade5a68e505f91bef22379">SourceStyleScheme</a>(<a class="code" href="sourcestylescheme_8h.html#7f742a02fc4d9b91ed600a81b78aa0fb">GtkSourceStyleScheme</a>* castitem); <a name="l00087"></a>00087 <a name="l00088"></a>00088 <span class="keyword">protected</span>: <a name="l00089"></a>00089 <span class="preprocessor">#endif </span><span class="comment">/* DOXYGEN_SHOULD_SKIP_THIS */</span> <a name="l00090"></a>00090 <a name="l00091"></a>00091 <span class="keyword">public</span>: <a name="l00092"></a>00092 <span class="keyword">virtual</span> <a class="code" href="classgtksourceview_1_1SourceStyleScheme.html#c06ce41ef8661b65ae3a843d008fe94a">~SourceStyleScheme</a>(); <a name="l00093"></a>00093 <a name="l00094"></a>00094 <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classgtksourceview_1_1SourceStyleScheme.html#830f896794e5bcadc9e753f8bb8f28d8">add_interface</a>(GType gtype_implementer); <a name="l00095"></a>00095 <a name="l00096"></a>00096 <span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span> <a name="l00097"></a>00097 <span class="preprocessor"></span> <span class="keyword">static</span> GType <a class="code" href="classgtksourceview_1_1SourceStyleScheme.html#a7398bec0a7f5f8a88d576928f09d989">get_type</a>() G_GNUC_CONST; <a name="l00098"></a>00098 static GType <a class="code" href="classgtksourceview_1_1SourceStyleScheme.html#3b2938c2c4c757887b562c062188dea3">get_base_type</a>() G_GNUC_CONST; <a name="l00099"></a>00099 <span class="preprocessor">#endif</span> <a name="l00100"></a>00100 <span class="preprocessor"></span> <a name="l00102"></a><a class="code" href="classgtksourceview_1_1SourceStyleScheme.html#91a0f4da18127580d020bdf8d9b8737e">00102</a> <a class="code" href="sourcestylescheme_8h.html#7f742a02fc4d9b91ed600a81b78aa0fb">GtkSourceStyleScheme</a>* <a class="code" href="classgtksourceview_1_1SourceStyleScheme.html#91a0f4da18127580d020bdf8d9b8737e" title="Provides access to the underlying C GObject.">gobj</a>() { <span class="keywordflow">return</span> <span class="keyword">reinterpret_cast<</span><a class="code" href="sourcestylescheme_8h.html#7f742a02fc4d9b91ed600a81b78aa0fb">GtkSourceStyleScheme</a>*<span class="keyword">></span>(gobject_); } <a name="l00103"></a>00103 <a name="l00105"></a><a class="code" href="classgtksourceview_1_1SourceStyleScheme.html#ebae2e9927157f035c517d98431a6f0d">00105</a> <span class="keyword">const</span> <a class="code" href="sourcestylescheme_8h.html#7f742a02fc4d9b91ed600a81b78aa0fb">GtkSourceStyleScheme</a>* <a class="code" href="classgtksourceview_1_1SourceStyleScheme.html#91a0f4da18127580d020bdf8d9b8737e" title="Provides access to the underlying C GObject.">gobj</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">reinterpret_cast<</span><a class="code" href="sourcestylescheme_8h.html#7f742a02fc4d9b91ed600a81b78aa0fb">GtkSourceStyleScheme</a>*<span class="keyword">></span>(gobject_); } <a name="l00106"></a>00106 <a name="l00107"></a>00107 <span class="keyword">private</span>: <a name="l00108"></a>00108 <a name="l00109"></a>00109 <a name="l00110"></a>00110 <span class="keyword">public</span>: <a name="l00111"></a>00111 <a name="l00112"></a>00112 <a name="l00118"></a>00118 Glib::ustring <a class="code" href="classgtksourceview_1_1SourceStyleScheme.html#4003310eb71d1a182a5fbf708fe560d4">get_id</a>() <span class="keyword">const</span>; <a name="l00119"></a>00119 <a name="l00125"></a>00125 Glib::ustring <a class="code" href="classgtksourceview_1_1SourceStyleScheme.html#71b0f33d327d1f546a966d9a86bda241">get_name</a>() <span class="keyword">const</span>; <a name="l00126"></a>00126 <a name="l00132"></a>00132 Glib::ustring <a class="code" href="classgtksourceview_1_1SourceStyleScheme.html#c82250b45415172be892db44cd5f550b">get_description</a>() <span class="keyword">const</span>; <a name="l00133"></a>00133 <a name="l00134"></a>00134 <a name="l00142"></a>00142 Glib::StringArrayHandle <a class="code" href="classgtksourceview_1_1SourceStyleScheme.html#f2d25e178b726ce96189a83bfa454715">get_authors</a>() <span class="keyword">const</span>; <a name="l00143"></a>00143 <a name="l00144"></a>00144 <a name="l00151"></a>00151 std::string <a class="code" href="classgtksourceview_1_1SourceStyleScheme.html#21ae1d383bee638ef7ff324dcd8c3287">get_filename</a>() <span class="keyword">const</span>; <a name="l00152"></a>00152 <a name="l00153"></a>00153 <a name="l00162"></a>00162 Glib::RefPtr<SourceStyle> <a class="code" href="classgtksourceview_1_1SourceStyleScheme.html#26b8b890c46dcdb76d267cc8eda49dc0">get_style</a>(<span class="keyword">const</span> Glib::ustring& style_id); <a name="l00163"></a>00163 <a name="l00172"></a>00172 Glib::RefPtr<const SourceStyle> <a class="code" href="classgtksourceview_1_1SourceStyleScheme.html#26b8b890c46dcdb76d267cc8eda49dc0">get_style</a>(<span class="keyword">const</span> Glib::ustring& style_id) <span class="keyword">const</span>; <a name="l00173"></a>00173 <a name="l00174"></a>00174 <a name="l00175"></a>00175 <span class="keyword">public</span>: <a name="l00176"></a>00176 <a name="l00177"></a>00177 <span class="keyword">public</span>: <a name="l00178"></a>00178 <span class="comment">//C++ methods used to invoke GTK+ virtual functions:</span> <a name="l00179"></a>00179 <span class="preprocessor">#ifdef GLIBMM_VFUNCS_ENABLED</span> <a name="l00180"></a>00180 <span class="preprocessor"></span><span class="preprocessor">#endif //GLIBMM_VFUNCS_ENABLED</span> <a name="l00181"></a>00181 <span class="preprocessor"></span> <a name="l00182"></a>00182 <span class="keyword">protected</span>: <a name="l00183"></a>00183 <span class="comment">//GTK+ Virtual Functions (override these to change behaviour):</span> <a name="l00184"></a>00184 <span class="preprocessor">#ifdef GLIBMM_VFUNCS_ENABLED</span> <a name="l00185"></a>00185 <span class="preprocessor"></span><span class="preprocessor">#endif //GLIBMM_VFUNCS_ENABLED</span> <a name="l00186"></a>00186 <span class="preprocessor"></span> <a name="l00187"></a>00187 <span class="comment">//Default Signal Handlers::</span> <a name="l00188"></a>00188 <span class="preprocessor">#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED</span> <a name="l00189"></a>00189 <span class="preprocessor"></span><span class="preprocessor">#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED</span> <a name="l00190"></a>00190 <span class="preprocessor"></span> <a name="l00191"></a>00191 <a name="l00192"></a>00192 };<span class="comment">//end class SourceStyleScheme</span> <a name="l00193"></a>00193 <a name="l00194"></a>00194 }<span class="comment">//end namespace gtksourceview</span> <a name="l00195"></a>00195 <a name="l00196"></a>00196 <a name="l00197"></a>00197 <span class="keyword">namespace </span>Glib <a name="l00198"></a>00198 { <a name="l00207"></a>00207 Glib::RefPtr<gtksourceview::SourceStyleScheme> wrap(<a class="code" href="sourcestylescheme_8h.html#7f742a02fc4d9b91ed600a81b78aa0fb">GtkSourceStyleScheme</a>* <span class="keywordtype">object</span>, <span class="keywordtype">bool</span> take_copy = <span class="keyword">false</span>); <a name="l00208"></a>00208 <a name="l00209"></a>00209 } <span class="comment">// namespace Glib</span> <a name="l00210"></a>00210 <a name="l00211"></a>00211 <a name="l00212"></a>00212 <span class="preprocessor">#endif </span><span class="comment">/* _GTKSOURCEVIEWMM_SOURCESTYLESCHEME_H */</span> <a name="l00213"></a>00213 </pre></div></div> <hr size="1"><address style="text-align: right;"><small>Generated on Sun Nov 2 13:55:06 2008 for libgtksourceviewmm by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> </body> </html>