<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.5.6">
  <compounddef id="Document_8h" kind="file">
    <compoundname>Document.h</compoundname>
    <includes refid="View_8h" local="yes">bakery/View/View.h</includes>
    <includes local="no">glibmm.h</includes>
    <includes local="no">iostream</includes>
    <includedby refid="App__WithDoc_8h" local="no">App_WithDoc.h</includedby>
    <includedby refid="App__WithDoc__Gtk_8h" local="no">App_WithDoc_Gtk.h</includedby>
    <includedby refid="Document__XML_8h" local="yes">Document_XML.h</includedby>
    <includedby refid="View_8h" local="yes">View.h</includedby>
    <incdepgraph>
      <node id="217">
        <label>Document.h</label>
        <link refid="Document.h"/>
        <childnode refid="218" relation="include">
        </childnode>
        <childnode refid="222" relation="include">
        </childnode>
        <childnode refid="223" relation="include">
        </childnode>
      </node>
      <node id="219">
        <label>ViewBase.h</label>
        <link refid="ViewBase_8h"/>
        <childnode refid="220" relation="include">
        </childnode>
      </node>
      <node id="221">
        <label>sigc++/sigc++.h</label>
      </node>
      <node id="223">
        <label>iostream</label>
      </node>
      <node id="220">
        <label>sigc++/trackable.h</label>
      </node>
      <node id="218">
        <label>bakery/View/View.h</label>
        <link refid="View_8h"/>
        <childnode refid="219" relation="include">
        </childnode>
        <childnode refid="217" relation="include">
        </childnode>
        <childnode refid="221" relation="include">
        </childnode>
      </node>
      <node id="222">
        <label>glibmm.h</label>
      </node>
    </incdepgraph>
    <invincdepgraph>
      <node id="228">
        <label>GtkDialogs.h</label>
        <link refid="GtkDialogs_8h"/>
      </node>
      <node id="225">
        <label>App_WithDoc.h</label>
        <link refid="App__WithDoc_8h"/>
        <childnode refid="226" relation="include">
        </childnode>
        <childnode refid="228" relation="include">
        </childnode>
        <childnode refid="227" relation="include">
        </childnode>
      </node>
      <node id="224">
        <label>Document.h</label>
        <link refid="Document.h"/>
        <childnode refid="225" relation="include">
        </childnode>
        <childnode refid="226" relation="include">
        </childnode>
        <childnode refid="229" relation="include">
        </childnode>
        <childnode refid="230" relation="include">
        </childnode>
      </node>
      <node id="229">
        <label>Document_XML.h</label>
        <link refid="Document__XML_8h"/>
        <childnode refid="227" relation="include">
        </childnode>
      </node>
      <node id="231">
        <label>View_Composite.h</label>
        <link refid="View__Composite_8h"/>
        <childnode refid="227" relation="include">
        </childnode>
      </node>
      <node id="227">
        <label>bakery.h</label>
        <link refid="bakery_8h"/>
      </node>
      <node id="226">
        <label>App_WithDoc_Gtk.h</label>
        <link refid="App__WithDoc__Gtk_8h"/>
        <childnode refid="227" relation="include">
        </childnode>
      </node>
      <node id="230">
        <label>View.h</label>
        <link refid="View_8h"/>
        <childnode refid="227" relation="include">
        </childnode>
        <childnode refid="224" relation="include">
        </childnode>
        <childnode refid="231" relation="include">
        </childnode>
      </node>
    </invincdepgraph>
    <innerclass refid="classBakery_1_1Document" prot="public">Bakery::Document</innerclass>
    <innernamespace refid="namespaceBakery">Bakery</innernamespace>
    <briefdescription>
    </briefdescription>
    <detaileddescription>
    </detaileddescription>
    <programlisting>
<codeline lineno="1"><highlight class="comment">/*</highlight></codeline>
<codeline lineno="2"><highlight class="comment"><sp/>*<sp/>Copyright<sp/>2000<sp/>Murray<sp/>Cumming</highlight></codeline>
<codeline lineno="3"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="4"><highlight class="comment"><sp/>*<sp/>This<sp/>library<sp/>is<sp/>free<sp/>software;<sp/>you<sp/>can<sp/>redistribute<sp/>it<sp/>and/or</highlight></codeline>
<codeline lineno="5"><highlight class="comment"><sp/>*<sp/>modify<sp/>it<sp/>under<sp/>the<sp/>terms<sp/>of<sp/>the<sp/>GNU<sp/>Library<sp/>General<sp/>Public</highlight></codeline>
<codeline lineno="6"><highlight class="comment"><sp/>*<sp/>License<sp/>as<sp/>published<sp/>by<sp/>the<sp/>Free<sp/>Software<sp/>Foundation;<sp/>either</highlight></codeline>
<codeline lineno="7"><highlight class="comment"><sp/>*<sp/>version<sp/>2<sp/>of<sp/>the<sp/>License,<sp/>or<sp/>(at<sp/>your<sp/>option)<sp/>any<sp/>later<sp/>version.</highlight></codeline>
<codeline lineno="8"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="9"><highlight class="comment"><sp/>*<sp/>This<sp/>library<sp/>is<sp/>distributed<sp/>in<sp/>the<sp/>hope<sp/>that<sp/>it<sp/>will<sp/>be<sp/>useful,</highlight></codeline>
<codeline lineno="10"><highlight class="comment"><sp/>*<sp/>but<sp/>WITHOUT<sp/>ANY<sp/>WARRANTY;<sp/>without<sp/>even<sp/>the<sp/>implied<sp/>warranty<sp/>of</highlight></codeline>
<codeline lineno="11"><highlight class="comment"><sp/>*<sp/>MERCHANTABILITY<sp/>or<sp/>FITNESS<sp/>FOR<sp/>A<sp/>PARTICULAR<sp/>PURPOSE.<sp/><sp/>See<sp/>the<sp/>GNU</highlight></codeline>
<codeline lineno="12"><highlight class="comment"><sp/>*<sp/>Library<sp/>General<sp/>Public<sp/>License<sp/>for<sp/>more<sp/>details.</highlight></codeline>
<codeline lineno="13"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="14"><highlight class="comment"><sp/>*<sp/>You<sp/>should<sp/>have<sp/>received<sp/>a<sp/>copy<sp/>of<sp/>the<sp/>GNU<sp/>Library<sp/>General<sp/>Public</highlight></codeline>
<codeline lineno="15"><highlight class="comment"><sp/>*<sp/>License<sp/>along<sp/>with<sp/>this<sp/>library;<sp/>if<sp/>not,<sp/>write<sp/>to<sp/>the<sp/>Free</highlight></codeline>
<codeline lineno="16"><highlight class="comment"><sp/>*<sp/>Software<sp/>Foundation,<sp/>Inc.,<sp/>675<sp/>Mass<sp/>Ave,<sp/>Cambridge,<sp/>MA<sp/>02139,<sp/>USA.</highlight></codeline>
<codeline lineno="17"><highlight class="comment"><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="18"><highlight class="normal"></highlight></codeline>
<codeline lineno="19"><highlight class="normal"></highlight><highlight class="preprocessor">#ifndef<sp/>BAKERY_DOCUMENT_H</highlight></codeline>
<codeline lineno="20"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define<sp/>BAKERY_DOCUMENT_H</highlight></codeline>
<codeline lineno="21"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="22"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&quot;<ref refid="View_8h" kindref="compound">bakery/View/View.h</ref>&quot;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="23"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;glibmm.h&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="24"><highlight class="normal"></highlight></codeline>
<codeline lineno="25"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;iostream&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="26"><highlight class="normal"></highlight></codeline>
<codeline lineno="27"><highlight class="normal"></highlight><highlight class="keyword">namespace<sp/></highlight><highlight class="normal">Bakery</highlight></codeline>
<codeline lineno="28"><highlight class="normal">{</highlight></codeline>
<codeline lineno="29"><highlight class="normal"></highlight></codeline>
<codeline lineno="34" refid="classBakery_1_1Document" refkind="compound"><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classBakery_1_1Document" kindref="compound" tooltip="The Document is like the &amp;#39;Model&amp;#39; in the Model-View-Controller framework.">Document</ref></highlight></codeline>
<codeline lineno="35"><highlight class="normal">{</highlight></codeline>
<codeline lineno="36"><highlight class="normal"></highlight><highlight class="keyword">public</highlight><highlight class="normal">:<sp/></highlight></codeline>
<codeline lineno="37"><highlight class="normal"><sp/><sp/><ref refid="classBakery_1_1Document_17c8ee3e39c986f730a57c2291492e3e6" kindref="member">Document</ref>();</highlight></codeline>
<codeline lineno="38"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/><ref refid="classBakery_1_1Document_1b42446d2454b7803fc694ac08c7dd440" kindref="member">~Document</ref>();</highlight></codeline>
<codeline lineno="39"><highlight class="normal"></highlight></codeline>
<codeline lineno="40"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">/*<sp/>Saves<sp/>the<sp/>data<sp/>to<sp/>disk.</highlight></codeline>
<codeline lineno="41"><highlight class="comment"><sp/><sp/><sp/>*<sp/>Asks<sp/>the<sp/>View<sp/>to<sp/>update<sp/>this<sp/>document<sp/>before<sp/>saving<sp/>to<sp/>disk,</highlight></codeline>
<codeline lineno="42"><highlight class="comment"><sp/><sp/><sp/>*<sp/>but<sp/>you<sp/>should<sp/>probably<sp/>ensure<sp/>that<sp/>the<sp/>document<sp/>is<sp/>updated<sp/>more<sp/>regularly<sp/>than<sp/>this,</highlight></codeline>
<codeline lineno="43"><highlight class="comment"><sp/><sp/><sp/>*<sp/>so<sp/>that<sp/>different<sp/>parts<sp/>of<sp/>the<sp/>GUI<sp/>are<sp/>synchronized.</highlight></codeline>
<codeline lineno="44"><highlight class="comment"><sp/><sp/><sp/>*<sp/>Only<sp/>saves<sp/>if<sp/>the<sp/>document<sp/>has<sp/>been<sp/>modified.</highlight></codeline>
<codeline lineno="45"><highlight class="comment"><sp/><sp/><sp/>*<sp/>bool<sp/>indicates<sp/>success.</highlight></codeline>
<codeline lineno="46"><highlight class="comment"><sp/><sp/><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="47"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classBakery_1_1Document_17337d846a8ba3f9631087389afc328cd" kindref="member">save</ref>();</highlight></codeline>
<codeline lineno="48"><highlight class="normal"></highlight></codeline>
<codeline lineno="49"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">/*<sp/>Loads<sp/>data<sp/>from<sp/>disk,<sp/>using<sp/>the<sp/>URI<sp/>(set<sp/>with<sp/>set_file_uri())<sp/>then<sp/>asks<sp/>the<sp/>View<sp/>to<sp/>update<sp/>itself.</highlight></codeline>
<codeline lineno="50"><highlight class="comment"><sp/><sp/><sp/>*<sp/>bool<sp/>indicates<sp/>success.</highlight></codeline>
<codeline lineno="51"><highlight class="comment"><sp/><sp/><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="52"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classBakery_1_1Document_1a533fed6a13ad3a5de8492c1224f0164" kindref="member">load</ref>();</highlight></codeline>
<codeline lineno="53"><highlight class="normal"></highlight></codeline>
<codeline lineno="54"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">//This<sp/>can&apos;t<sp/>be<sp/>virtual<sp/>because<sp/>that<sp/>would<sp/>break<sp/>ABI.</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="55"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">//Hopefully<sp/>it<sp/>doesn&apos;t<sp/>need<sp/>to<sp/>be.</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="56"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">/*<sp/>Loads<sp/>data<sp/>from<sp/>disk,<sp/>using<sp/>the<sp/>URI<sp/>(set<sp/>with<sp/>set_file_uri())<sp/>then<sp/>asks<sp/>the<sp/>View<sp/>to<sp/>update<sp/>itself.</highlight></codeline>
<codeline lineno="57"><highlight class="comment"><sp/><sp/><sp/>*<sp/>bool<sp/>indicates<sp/>success.</highlight></codeline>
<codeline lineno="58"><highlight class="comment"><sp/><sp/><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="59"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classBakery_1_1Document_1ce3fc10ef2d6cfec5de95e066b5c78f2" kindref="member">load_from_data</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>guchar*<sp/>data,<sp/>std::size_t<sp/>length);</highlight></codeline>
<codeline lineno="60"><highlight class="normal"></highlight></codeline>
<codeline lineno="61"><highlight class="normal"></highlight></codeline>
<codeline lineno="62"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classBakery_1_1Document_1dcc7f60db54e784b43ecf38e2ab4d102" kindref="member">get_modified</ref>()<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="63"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classBakery_1_1Document_18fc72b3744005d61bd2e378478792e28" kindref="member">set_modified</ref>(</highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>bVal<sp/>=<sp/></highlight><highlight class="keyword">true</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="64"><highlight class="normal"></highlight></codeline>
<codeline lineno="66"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classBakery_1_1Document_10662fd16f864461831e53555a2b7a1bf" kindref="member" tooltip="Whether this just a default document.">get_is_new</ref>()<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="68"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classBakery_1_1Document_186bb01bf6427bdc21badfbfd886d6753" kindref="member" tooltip="Called by App_WithDoc::init_create_document().">set_is_new</ref>(</highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>bVal);</highlight></codeline>
<codeline lineno="69"><highlight class="normal"></highlight></codeline>
<codeline lineno="70"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/><ref refid="classGlib_1_1ustring" kindref="compound" external="glibmm_doxygen_tags">Glib::ustring</ref><sp/><ref refid="classBakery_1_1Document_1a3bbc777bd34e17715382423c39cddd9" kindref="member">get_contents</ref>()<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="71"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classBakery_1_1Document_1285690dac6be18c16068fde77a92fdfa" kindref="member">set_contents</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGlib_1_1ustring" kindref="compound" external="glibmm_doxygen_tags">Glib::ustring</ref>&amp;<sp/>strVal);</highlight></codeline>
<codeline lineno="72"><highlight class="normal"></highlight></codeline>
<codeline lineno="73"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/><ref refid="classGlib_1_1ustring" kindref="compound" external="glibmm_doxygen_tags">Glib::ustring</ref><sp/><ref refid="classBakery_1_1Document_11c2569feb7008a7f3c1264d1a45f1400" kindref="member">get_file_uri_with_extension</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGlib_1_1ustring" kindref="compound" external="glibmm_doxygen_tags">Glib::ustring</ref>&amp;<sp/>uri);</highlight></codeline>
<codeline lineno="74"><highlight class="normal"></highlight></codeline>
<codeline lineno="75"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/><ref refid="classGlib_1_1ustring" kindref="compound" external="glibmm_doxygen_tags">Glib::ustring</ref><sp/><ref refid="classBakery_1_1Document_1b0537575a45eaa05a7b941b9950b26a9" kindref="member">get_file_uri</ref>()<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="76"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classBakery_1_1Document_1d3ab690a2676c6e5ec487c94c28104e6" kindref="member">set_file_uri</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGlib_1_1ustring" kindref="compound" external="glibmm_doxygen_tags">Glib::ustring</ref>&amp;<sp/>file_uri,<sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>bEnforceFileExtension<sp/>=<sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="77"><highlight class="normal"></highlight></codeline>
<codeline lineno="79"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/><ref refid="classGlib_1_1ustring" kindref="compound" external="glibmm_doxygen_tags">Glib::ustring</ref><sp/><ref refid="classBakery_1_1Document_158b71b915756c7f5f5338d2e5ad2a3d6" kindref="member" tooltip="Gets filename part of file_uri, or &amp;#39;untitled&amp;#39;.">get_name</ref>()<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="80"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/><ref refid="classGlib_1_1ustring" kindref="compound" external="glibmm_doxygen_tags">Glib::ustring</ref><sp/><ref refid="classBakery_1_1Document_1fe67976046a8d8647c681b639326abb2" kindref="member">util_file_uri_get_name</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGlib_1_1ustring" kindref="compound" external="glibmm_doxygen_tags">Glib::ustring</ref>&amp;<sp/>file_uri,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGlib_1_1ustring" kindref="compound" external="glibmm_doxygen_tags">Glib::ustring</ref>&amp;<sp/>file_extension);</highlight></codeline>
<codeline lineno="81"><highlight class="normal"></highlight></codeline>
<codeline lineno="82"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classBakery_1_1Document_1cc2fe6d1dd3b67276537d9d3517a85c7" kindref="member">get_read_only</ref>()<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="83"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classBakery_1_1Document_184378204e1397e3a7b06a5eba4100c55" kindref="member">set_read_only</ref>(</highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>bVal);</highlight></codeline>
<codeline lineno="84"><highlight class="normal"></highlight></codeline>
<codeline lineno="86"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classBakery_1_1Document_1d030b761012d9e7a82071dc097f0b462" kindref="member" tooltip="If you don&amp;#39;t want to use a View, then don&amp;#39;t use set_view().">set_view</ref>(<ref refid="classBakery_1_1ViewBase" kindref="compound" tooltip="This is a base class for View.">ViewBase</ref>*<sp/>pView);</highlight></codeline>
<codeline lineno="87"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/><ref refid="classBakery_1_1ViewBase" kindref="compound" tooltip="This is a base class for View.">ViewBase</ref>*<sp/><ref refid="classBakery_1_1Document_161c6e857b9305e433f5206ecc30b1b06" kindref="member">get_view</ref>();</highlight></codeline>
<codeline lineno="88"><highlight class="normal"></highlight></codeline>
<codeline lineno="89"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classBakery_1_1Document_1771de7542989245fc6673ae29ec9a3d4" kindref="member">set_file_extension</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classGlib_1_1ustring" kindref="compound" external="glibmm_doxygen_tags">Glib::ustring</ref>&amp;<sp/>strVal);</highlight></codeline>
<codeline lineno="90"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/><ref refid="classGlib_1_1ustring" kindref="compound" external="glibmm_doxygen_tags">Glib::ustring</ref><sp/><ref refid="classBakery_1_1Document_179f35deb0b982e17ff19ed6efeeddab3" kindref="member">get_file_extension</ref>()<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="91"><highlight class="normal"></highlight></codeline>
<codeline lineno="92"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">//Signals</highlight></codeline>
<codeline lineno="95" refid="classBakery_1_1Document_17a7f15c6db7cb0921386c4fb63066e93" refkind="member"><highlight class="comment"></highlight><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/>sigc::signal&lt;void,<sp/>bool&gt;<sp/><ref refid="classBakery_1_1Document_17a7f15c6db7cb0921386c4fb63066e93" kindref="member" tooltip="For instance, void on_document_modified(bool modified);.">type_signal_modified</ref>;</highlight></codeline>
<codeline lineno="96"><highlight class="normal"></highlight></codeline>
<codeline lineno="100"><highlight class="normal"><sp/><sp/><ref refid="classBakery_1_1Document_17a7f15c6db7cb0921386c4fb63066e93" kindref="member" tooltip="For instance, void on_document_modified(bool modified);.">type_signal_modified</ref>&amp;<sp/><ref refid="classBakery_1_1Document_1921e0104ba71fd3e5d844fd0a86986fa" kindref="member" tooltip="This signal is emitted when the document has been modified.">signal_modified</ref>();</highlight></codeline>
<codeline lineno="101"><highlight class="normal"></highlight></codeline>
<codeline lineno="102" refid="classBakery_1_1Document_1d8d08d5cecd049ab1516dcb13d4eabaa" refkind="member"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/>sigc::signal&lt;void&gt;<sp/><ref refid="classBakery_1_1Document_1d8d08d5cecd049ab1516dcb13d4eabaa" kindref="member">type_signal_forget</ref>;</highlight></codeline>
<codeline lineno="103"><highlight class="normal"></highlight></codeline>
<codeline lineno="107"><highlight class="normal"><sp/><sp/><ref refid="classBakery_1_1Document_1d8d08d5cecd049ab1516dcb13d4eabaa" kindref="member">type_signal_forget</ref>&amp;<sp/><ref refid="classBakery_1_1Document_1b49fc75dcd3f0838983bdc0b8641ca1b" kindref="member" tooltip="This signal is emitted when the view should forget the document.">signal_forget</ref>();</highlight></codeline>
<codeline lineno="108"><highlight class="normal"></highlight></codeline>
<codeline lineno="110"><highlight class="normal"></highlight></codeline>
<codeline lineno="111"><highlight class="normal"></highlight><highlight class="keyword">protected</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="115"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classBakery_1_1Document_1c8607704505a4c571aca619c47e5e8c1" kindref="member" tooltip="Allow app to update icons/title bar.">load_after</ref>();</highlight></codeline>
<codeline lineno="116"><highlight class="normal"></highlight></codeline>
<codeline lineno="120"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classBakery_1_1Document_129168b2c65715c5d2c331137296b99d2" kindref="member" tooltip="overrideable.">save_before</ref>();</highlight></codeline>
<codeline lineno="121"><highlight class="normal"></highlight></codeline>
<codeline lineno="122"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classBakery_1_1Document_1a78ec88a6a27d30ce1b0ff86861742c9" kindref="member">read_from_disk</ref>();</highlight></codeline>
<codeline lineno="123"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classBakery_1_1Document_1f2ef2bdf94ebe4fc198d5bbdfd9c37fd" kindref="member">write_to_disk</ref>();</highlight></codeline>
<codeline lineno="124"><highlight class="normal"></highlight></codeline>
<codeline lineno="125" refid="classBakery_1_1Document_1be7a83f06449f2fbabbf73b4e881ba98" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGlib_1_1ustring" kindref="compound" external="glibmm_doxygen_tags">Glib::ustring</ref><sp/><ref refid="classBakery_1_1Document_1be7a83f06449f2fbabbf73b4e881ba98" kindref="member">m_strContents</ref>;</highlight></codeline>
<codeline lineno="126" refid="classBakery_1_1Document_1d87618dd347c51d4849441e47bc6c881" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGlib_1_1ustring" kindref="compound" external="glibmm_doxygen_tags">Glib::ustring</ref><sp/><ref refid="classBakery_1_1Document_1d87618dd347c51d4849441e47bc6c881" kindref="member">m_file_uri</ref>;</highlight></codeline>
<codeline lineno="127" refid="classBakery_1_1Document_163acfbd446a6e7c2160fdff8a05f4d11" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classGlib_1_1ustring" kindref="compound" external="glibmm_doxygen_tags">Glib::ustring</ref><sp/><ref refid="classBakery_1_1Document_163acfbd446a6e7c2160fdff8a05f4d11" kindref="member">m_file_extension</ref>;</highlight></codeline>
<codeline lineno="128"><highlight class="normal"></highlight></codeline>
<codeline lineno="129" refid="classBakery_1_1Document_1f28aca202004c4246dc53aa4fa9326ec" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classBakery_1_1ViewBase" kindref="compound" tooltip="This is a base class for View.">ViewBase</ref>*<sp/><ref refid="classBakery_1_1Document_1f28aca202004c4246dc53aa4fa9326ec" kindref="member">m_pView</ref>;</highlight></codeline>
<codeline lineno="130"><highlight class="normal"></highlight></codeline>
<codeline lineno="131" refid="classBakery_1_1Document_1474174ef4b154310900bdf66623ce8e4" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classBakery_1_1Document_17a7f15c6db7cb0921386c4fb63066e93" kindref="member" tooltip="For instance, void on_document_modified(bool modified);.">type_signal_modified</ref><sp/><ref refid="classBakery_1_1Document_1474174ef4b154310900bdf66623ce8e4" kindref="member">signal_modified_</ref>;</highlight></codeline>
<codeline lineno="132" refid="classBakery_1_1Document_1ba481cfda27ab0a49c856dc112aa3760" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classBakery_1_1Document_1d8d08d5cecd049ab1516dcb13d4eabaa" kindref="member">type_signal_forget</ref><sp/><ref refid="classBakery_1_1Document_1ba481cfda27ab0a49c856dc112aa3760" kindref="member">signal_forget_</ref>;</highlight></codeline>
<codeline lineno="133"><highlight class="normal"><sp/><sp/></highlight></codeline>
<codeline lineno="134" refid="classBakery_1_1Document_11b074335c4f6349d171114487f16cbac" refkind="member"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classBakery_1_1Document_11b074335c4f6349d171114487f16cbac" kindref="member">m_bModified</ref>;</highlight></codeline>
<codeline lineno="135" refid="classBakery_1_1Document_157c705564f5f051878563bd1cc4710f9" refkind="member"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classBakery_1_1Document_157c705564f5f051878563bd1cc4710f9" kindref="member">m_bIsNew</ref>;<sp/></highlight><highlight class="comment">//see<sp/>get_is_new().</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="136" refid="classBakery_1_1Document_13ee81913d52df4a2c05df97b837dac03" refkind="member"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classBakery_1_1Document_13ee81913d52df4a2c05df97b837dac03" kindref="member">m_bReadOnly</ref>;</highlight></codeline>
<codeline lineno="137"><highlight class="normal">};</highlight></codeline>
<codeline lineno="138"><highlight class="normal"></highlight></codeline>
<codeline lineno="139"><highlight class="normal">}<sp/></highlight><highlight class="comment">//namespace</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="140"><highlight class="normal"></highlight></codeline>
<codeline lineno="141"><highlight class="normal"></highlight><highlight class="preprocessor">#endif<sp/>//GNOME_APPWITHDOCS_DOCUMENT_H</highlight></codeline>
    </programlisting>
    <location file="/home/murrayc/svn/gnome220/bakery/bakery/Document/Document.h"/>
  </compounddef>
</doxygen>
