<?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="App__WithDoc_8h" kind="file">
    <compoundname>App_WithDoc.h</compoundname>
    <includes refid="App_8h" local="no">bakery/App/App.h</includes>
    <includes refid="Document_8h" local="no">bakery/Document/Document.h</includes>
    <includedby refid="App__WithDoc__Gtk_8h" local="no">App_WithDoc_Gtk.h</includedby>
    <includedby refid="GtkDialogs_8h" local="no">GtkDialogs.h</includedby>
    <includedby refid="bakery_8h" local="no">bakery.h</includedby>
    <incdepgraph>
      <node id="37">
        <label>list</label>
      </node>
      <node id="34">
        <label>bakery/App/App.h</label>
        <link refid="App_8h"/>
        <childnode refid="35" relation="include">
        </childnode>
        <childnode refid="38" relation="include">
        </childnode>
        <childnode refid="39" relation="include">
        </childnode>
        <childnode refid="37" relation="include">
        </childnode>
        <childnode refid="40" relation="include">
        </childnode>
      </node>
      <node id="40">
        <label>map</label>
      </node>
      <node id="33">
        <label>App_WithDoc.h</label>
        <link refid="App_WithDoc.h"/>
        <childnode refid="34" relation="include">
        </childnode>
        <childnode refid="41" relation="include">
        </childnode>
      </node>
      <node id="38">
        <label>glibmm/object.h</label>
        <link refid="object_8h" external="glibmm_doxygen_tags"/>
      </node>
      <node id="41">
        <label>bakery/Document/Document.h</label>
        <link refid="Document_8h"/>
        <childnode refid="42" relation="include">
        </childnode>
        <childnode refid="45" relation="include">
        </childnode>
        <childnode refid="46" relation="include">
        </childnode>
      </node>
      <node id="43">
        <label>ViewBase.h</label>
        <link refid="ViewBase_8h"/>
        <childnode refid="44" relation="include">
        </childnode>
      </node>
      <node id="35">
        <label>bakery/App/AppInstanceManager.h</label>
        <link refid="AppInstanceManager_8h"/>
        <childnode refid="36" relation="include">
        </childnode>
        <childnode refid="37" relation="include">
        </childnode>
      </node>
      <node id="39">
        <label>vector</label>
      </node>
      <node id="36">
        <label>sigc++/sigc++.h</label>
      </node>
      <node id="46">
        <label>iostream</label>
      </node>
      <node id="44">
        <label>sigc++/trackable.h</label>
      </node>
      <node id="42">
        <label>bakery/View/View.h</label>
        <link refid="View_8h"/>
        <childnode refid="43" relation="include">
        </childnode>
        <childnode refid="41" relation="include">
        </childnode>
        <childnode refid="36" relation="include">
        </childnode>
      </node>
      <node id="45">
        <label>glibmm.h</label>
      </node>
    </incdepgraph>
    <invincdepgraph>
      <node id="50">
        <label>GtkDialogs.h</label>
        <link refid="GtkDialogs_8h"/>
      </node>
      <node id="47">
        <label>App_WithDoc.h</label>
        <link refid="App_WithDoc.h"/>
        <childnode refid="48" relation="include">
        </childnode>
        <childnode refid="50" relation="include">
        </childnode>
        <childnode refid="49" relation="include">
        </childnode>
      </node>
      <node id="49">
        <label>bakery.h</label>
        <link refid="bakery_8h"/>
      </node>
      <node id="48">
        <label>App_WithDoc_Gtk.h</label>
        <link refid="App__WithDoc__Gtk_8h"/>
        <childnode refid="49" relation="include">
        </childnode>
      </node>
    </invincdepgraph>
    <innerclass refid="classBakery_1_1App__WithDoc" prot="public">Bakery::App_WithDoc</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_APP_WITHDOC_H</highlight></codeline>
<codeline lineno="20"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define<sp/>BAKERY_APP_WITHDOC_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/>&lt;<ref refid="App_8h" kindref="compound">bakery/App/App.h</ref>&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="23"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;<ref refid="Document_8h" kindref="compound">bakery/Document/Document.h</ref>&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="24"><highlight class="normal"></highlight></codeline>
<codeline lineno="25"><highlight class="normal"></highlight><highlight class="keyword">namespace<sp/></highlight><highlight class="normal">Bakery</highlight></codeline>
<codeline lineno="26"><highlight class="normal">{</highlight></codeline>
<codeline lineno="27"><highlight class="normal"></highlight></codeline>
<codeline lineno="55" refid="classBakery_1_1App__WithDoc" refkind="compound"><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classBakery_1_1App__WithDoc" kindref="compound" tooltip="Main Window which supports documents.">App_WithDoc</ref><sp/>:<sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/><ref refid="classBakery_1_1App" kindref="compound" tooltip="Bakery&amp;#39;s Main Window.">App</ref><sp/></highlight><highlight class="comment">//virtual<sp/>because<sp/>App_WithDoc_Gtk<sp/>will<sp/>inherit<sp/>it<sp/>via<sp/>App_With_Doc<sp/>and<sp/>via<sp/>App_Gtk.</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="56"><highlight class="normal">{</highlight></codeline>
<codeline lineno="57"><highlight class="normal"></highlight><highlight class="keyword">public</highlight><highlight class="normal">:<sp/></highlight></codeline>
<codeline lineno="59"><highlight class="normal"><sp/><sp/><ref refid="classBakery_1_1App__WithDoc_169248ba2e8081b3ac1cf55a9af2636d2" kindref="member" tooltip="Don&amp;#39;t forget to call init() too.">App_WithDoc</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/>appname<sp/>=<sp/></highlight><highlight class="stringliteral">&quot;&quot;</highlight><highlight class="normal">);<sp/></highlight><highlight class="comment">//TODO:<sp/>appname<sp/>when<sp/>using<sp/>get_derived_widget()</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="60"><highlight class="normal"></highlight></codeline>
<codeline lineno="61"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/><ref refid="classBakery_1_1App__WithDoc_1d627d00edc8191b6c3bc1a5c6fd58252" kindref="member">~App_WithDoc</ref>();</highlight></codeline>
<codeline lineno="62"><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_1App__WithDoc_16aa4472a8d745579daa9dcd083c21cfe" kindref="member">init</ref>();<sp/></highlight><highlight class="comment">//overridden<sp/>to<sp/>create<sp/>document.</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="64"><highlight class="normal"></highlight></codeline>
<codeline lineno="65" refid="classBakery_1_1App__WithDoc_1d1139fe015398aee53fa4dae13aa8b70" refkind="member"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">enum</highlight><highlight class="normal"><sp/><ref refid="classBakery_1_1App__WithDoc_1d1139fe015398aee53fa4dae13aa8b70" kindref="member">enumSaveChanges</ref></highlight></codeline>
<codeline lineno="66"><highlight class="normal"><sp/><sp/>{</highlight></codeline>
<codeline lineno="67" refid="classBakery_1_1App__WithDoc_1d1139fe015398aee53fa4dae13aa8b70578d3ad7f4cfb55b372c3244c2a3f317" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classBakery_1_1App__WithDoc_1d1139fe015398aee53fa4dae13aa8b70578d3ad7f4cfb55b372c3244c2a3f317" kindref="member">SAVECHANGES_Save</ref>,</highlight></codeline>
<codeline lineno="68" refid="classBakery_1_1App__WithDoc_1d1139fe015398aee53fa4dae13aa8b701a6957218187bb7408b7b7faa6ec6031" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classBakery_1_1App__WithDoc_1d1139fe015398aee53fa4dae13aa8b701a6957218187bb7408b7b7faa6ec6031" kindref="member">SAVECHANGES_Cancel</ref>,</highlight></codeline>
<codeline lineno="69" refid="classBakery_1_1App__WithDoc_1d1139fe015398aee53fa4dae13aa8b703402b60613974f304ed3f4d37fd7b22c" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classBakery_1_1App__WithDoc_1d1139fe015398aee53fa4dae13aa8b703402b60613974f304ed3f4d37fd7b22c" kindref="member">SAVECHANGES_Discard</ref></highlight></codeline>
<codeline lineno="70"><highlight class="normal"><sp/><sp/>};</highlight></codeline>
<codeline lineno="71"><highlight class="normal"></highlight></codeline>
<codeline lineno="72"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classBakery_1_1App__WithDoc_1941eb2a6bcba0b98208af6594c8c5183" kindref="member">file_exists</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="73"><highlight class="normal"></highlight></codeline>
<codeline lineno="74"><highlight class="normal"></highlight><highlight class="keyword">protected</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="75"><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_1App__WithDoc_17e23b7d71efae7b09563b6f97a1fa9e3" kindref="member">init_create_document</ref>();<sp/></highlight><highlight class="comment">//override<sp/>this<sp/>to<sp/>new()<sp/>the<sp/>specific<sp/>document<sp/>type.</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="76"><highlight class="normal"></highlight></codeline>
<codeline lineno="81"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classBakery_1_1App__WithDoc_1f8a4061293fa41eaa1f1c594733cbc44" kindref="member" tooltip="Add a MIME-type that this application can support.">add_mime_type</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/>mime_type);</highlight></codeline>
<codeline lineno="82"><highlight class="normal"></highlight></codeline>
<codeline lineno="84"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/><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>*<sp/><ref refid="classBakery_1_1App__WithDoc_19e5ee857e65ad7900decbda4ffca5a21" kindref="member" tooltip="static_cast&amp;lt;&amp;gt; or dynamic_cast&amp;lt;&amp;gt; this pointer to the correct type.">get_document</ref>();</highlight></codeline>
<codeline lineno="85"><highlight class="normal"></highlight></codeline>
<codeline lineno="87"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><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>*<sp/><ref refid="classBakery_1_1App__WithDoc_19e5ee857e65ad7900decbda4ffca5a21" kindref="member" tooltip="static_cast&amp;lt;&amp;gt; or dynamic_cast&amp;lt;&amp;gt; this pointer to the correct type.">get_document</ref>()<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>;</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_1App__WithDoc_1603630b803c1cad5fd7d7dfa21f83bab" kindref="member">set_document_modified</ref>(</highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>bModified<sp/>=<sp/></highlight><highlight class="keyword">true</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="90"><highlight class="normal"></highlight></codeline>
<codeline lineno="95"><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_1App__WithDoc_1384c241eff005f208bb575bdc4bfdae6" kindref="member" tooltip="Open the document from a file at a URI.">open_document</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);</highlight></codeline>
<codeline lineno="96"><highlight class="normal"></highlight></codeline>
<codeline lineno="97"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">//This<sp/>cannot<sp/>be<sp/>virtual,<sp/>because<sp/>that<sp/>would<sp/>break<sp/>our<sp/>ABI.</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="98"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">//Hopefully<sp/>that<sp/>is<sp/>not<sp/>necessary.</highlight></codeline>
<codeline lineno="105"><highlight class="comment"></highlight><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classBakery_1_1App__WithDoc_17de8f1eb902dfaadce7829b6aa5e7a70" kindref="member" tooltip="Open the document using the supplied document contents.">open_document_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="106"><highlight class="normal"></highlight></codeline>
<codeline lineno="107"><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_1App__WithDoc_121f1b4c8cf4a31be2f24cfa03f7b7bee" kindref="member">document_history_add</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);</highlight></codeline>
<codeline lineno="108"><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_1App__WithDoc_1429695d665905852938dd5878d2343a1" kindref="member">document_history_remove</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);</highlight></codeline>
<codeline lineno="109"><highlight class="normal"></highlight></codeline>
<codeline lineno="110"><highlight class="normal"></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="111"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">//<sp/>We<sp/>can<sp/>not<sp/>take<sp/>function<sp/>pointers<sp/>of<sp/>these<sp/>methods<sp/>in<sp/></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="112"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">//<sp/>a<sp/>derived<sp/>class<sp/>if<sp/>they<sp/>are<sp/>protected<sp/>-<sp/>for<sp/>instance,<sp/>with<sp/>sigc::mem_fun()</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="113"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">//Signal<sp/>handlers:</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="114"><highlight class="normal"></highlight></codeline>
<codeline lineno="115"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">//Menu<sp/>items:</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="116"><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_1App__WithDoc_1e2c8fcd39321b7f50916b3e3acc79b0c" kindref="member">on_menu_file_open</ref>();</highlight></codeline>
<codeline lineno="117"><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_1App__WithDoc_1d91a46849d929832d13bd2a33194ab9b" kindref="member">on_menu_file_saveas</ref>();<sp/></highlight><highlight class="comment">//signal<sp/>handler.</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="118"><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_1App__WithDoc_1e9d5fd93995d83ec72ee6106a7624471" kindref="member">offer_saveas</ref>();<sp/></highlight><highlight class="comment">//For<sp/>direct<sp/>use.</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="119"><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_1App__WithDoc_16371f44318f346f97fa31386759f5d8a" kindref="member">on_menu_file_save</ref>();<sp/></highlight><highlight class="comment">//signal<sp/>handler.</highlight><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">void</highlight><highlight class="normal"><sp/><ref refid="classBakery_1_1App__WithDoc_1d441ec02327bfdffd9f7da6a6d9ba620" kindref="member">on_menu_file_close</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">void</highlight><highlight class="normal"><sp/><ref refid="classBakery_1_1App__WithDoc_1e7a3b3d7a88ff6fb7e36aa758f0821dd" kindref="member">on_menu_edit_copy</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">void</highlight><highlight class="normal"><sp/><ref refid="classBakery_1_1App__WithDoc_1b1f9cc438db2906be25103e42f665594" kindref="member">on_menu_edit_paste</ref>();</highlight></codeline>
<codeline lineno="124"><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_1App__WithDoc_15337b9839b020535212087735649f1c2" kindref="member">on_menu_edit_clear</ref>();</highlight></codeline>
<codeline lineno="125"><highlight class="normal"></highlight></codeline>
<codeline lineno="126"><highlight class="normal"></highlight><highlight class="keyword">protected</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="127"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">//Document:</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="128"><highlight class="normal"></highlight></codeline>
<codeline lineno="130"><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_1App__WithDoc_1c1866692a24f8b8707e06ec4cce9df48" kindref="member" tooltip="Update visual status.">on_document_modified</ref>(</highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>modified);</highlight></codeline>
<codeline lineno="131"><highlight class="normal"></highlight></codeline>
<codeline lineno="133"><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_1App__WithDoc_1d728d9add2bc3f5fae656fdd190282f9" kindref="member" tooltip="override this to show document contents.">on_document_load</ref>();</highlight></codeline>
<codeline lineno="134"><highlight class="normal"></highlight></codeline>
<codeline lineno="135"><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_1App__WithDoc_1c0c6040a9a18644a3a20a80042de4cae" kindref="member">offer_to_save_changes</ref>();</highlight></codeline>
<codeline lineno="136"><highlight class="normal"></highlight></codeline>
<codeline lineno="138"><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_1App__WithDoc_1ecc8a1c74a64295b155dd642744409b3" kindref="member" tooltip="Stop the File|Close or the File|Exit.">cancel_close_or_exit</ref>();</highlight></codeline>
<codeline lineno="139"><highlight class="normal"></highlight></codeline>
<codeline lineno="141"><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_1App__WithDoc_1018ec06b4bc374cc0f79b15fca93593f" kindref="member" tooltip="destroy it or mark it for destruction.">close_mark_or_destroy</ref>();</highlight></codeline>
<codeline lineno="142"><highlight class="normal"></highlight></codeline>
<codeline lineno="143"><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_1App__WithDoc_1c467abb5cd0200320d792c097794dc48" kindref="member">update_window_title</ref>();</highlight></codeline>
<codeline lineno="144"><highlight class="normal"></highlight></codeline>
<codeline lineno="145"><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_1App__WithDoc_19b12bc97d74e0b952b201bb8015d6715" kindref="member">after_successful_save</ref>();<sp/></highlight><highlight class="comment">//e.g.<sp/>disable<sp/>File|Save.</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="146"><highlight class="normal"></highlight></codeline>
<codeline lineno="147"><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_1App__WithDoc_1bee059da2d91028948813d6d1557b6d9" kindref="member">ui_warning</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/>text,<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/>secondary_text)<sp/>=<sp/>0;</highlight></codeline>
<codeline lineno="148"><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_1App__WithDoc_1e65002706e900647cc09db7abe8867ae" kindref="member">ui_file_select_open</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/><ref refid="classBakery_1_1App__WithDoc_1e65002706e900647cc09db7abe8867ae" kindref="member">ui_file_select_open</ref><sp/>=<sp/><ref refid="classGlib_1_1ustring" kindref="compound" external="glibmm_doxygen_tags">Glib::ustring</ref>())<sp/>=<sp/>0;</highlight></codeline>
<codeline lineno="149"><highlight class="normal"></highlight></codeline>
<codeline lineno="154"><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_1App__WithDoc_168c831f99c05366e78d65220ecca8b1e" kindref="member" tooltip="Present a user interface that allows the user to select a location to save the file...">ui_file_select_save</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/>old_file_uri)<sp/>=<sp/>0;</highlight></codeline>
<codeline lineno="155"><highlight class="normal"></highlight></codeline>
<codeline lineno="156"><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_1App__WithDoc_1bc8b1ebeb4e4da58bf5c76018858a633" kindref="member">ui_show_modification_status</ref>()<sp/>=<sp/>0;</highlight></codeline>
<codeline lineno="157"><highlight class="normal"></highlight></codeline>
<codeline lineno="158"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/><ref refid="classBakery_1_1App__WithDoc_1d1139fe015398aee53fa4dae13aa8b70" kindref="member">enumSaveChanges</ref><sp/><ref refid="classBakery_1_1App__WithDoc_1de3e9d61e0132f3d20fb712014c91669" kindref="member">ui_offer_to_save_changes</ref>()<sp/>=<sp/>0;</highlight></codeline>
<codeline lineno="159"><highlight class="normal"></highlight></codeline>
<codeline lineno="160"><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_1App__WithDoc_135d9d67492957378938e12b2142fefaf" kindref="member">get_conf_fullkey</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/>key);</highlight></codeline>
<codeline lineno="161"><highlight class="normal"></highlight></codeline>
<codeline lineno="162"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">//Document:</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="163" refid="classBakery_1_1App__WithDoc_1ab35979811be0c81db2ce119ea5c745e" refkind="member"><highlight class="normal"><sp/><sp/><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>*<sp/><ref refid="classBakery_1_1App__WithDoc_1ab35979811be0c81db2ce119ea5c745e" kindref="member">m_pDocument</ref>;<sp/></highlight><highlight class="comment">//An<sp/>instance<sp/>of<sp/>a<sp/>derived<sp/>type.</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="164" refid="classBakery_1_1App__WithDoc_166e7fd39568190167d63725e6f34bca8" refkind="member"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classBakery_1_1App__WithDoc_166e7fd39568190167d63725e6f34bca8" kindref="member">m_bCloseAfterSave</ref>;</highlight></codeline>
<codeline lineno="165"><highlight class="normal"></highlight></codeline>
<codeline lineno="166"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">//Mime<sp/>types<sp/>which<sp/>this<sp/>application<sp/>can<sp/>load<sp/>and<sp/>save:</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="167" refid="classBakery_1_1App__WithDoc_1ed77a511b3a2e05b7c413eb9718ee850" refkind="member"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/>std::list&lt;Glib::ustring&gt;<sp/><ref refid="classBakery_1_1App__WithDoc_1ed77a511b3a2e05b7c413eb9718ee850" kindref="member">type_list_strings</ref>;</highlight></codeline>
<codeline lineno="168" refid="classBakery_1_1App__WithDoc_18ed22f79024c388da7df3a94cddb0ea6" refkind="member"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/><ref refid="classBakery_1_1App__WithDoc_1ed77a511b3a2e05b7c413eb9718ee850" kindref="member">type_list_strings</ref><sp/><ref refid="classBakery_1_1App__WithDoc_18ed22f79024c388da7df3a94cddb0ea6" kindref="member">m_mime_types</ref>;</highlight></codeline>
<codeline lineno="169"><highlight class="normal">};</highlight></codeline>
<codeline lineno="170"><highlight class="normal"></highlight></codeline>
<codeline lineno="171"><highlight class="normal">}<sp/></highlight><highlight class="comment">//namespace</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="172"><highlight class="normal"></highlight></codeline>
<codeline lineno="173"><highlight class="normal"></highlight><highlight class="preprocessor">#endif<sp/>//BAKERY_APP_WITHDOC_H</highlight></codeline>
    </programlisting>
    <location file="/home/murrayc/svn/gnome220/bakery/bakery/App/App_WithDoc.h"/>
  </compounddef>
</doxygen>
