<?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="AppInstanceManager_8h" kind="file">
    <compoundname>AppInstanceManager.h</compoundname>
    <includes local="no">sigc++/sigc++.h</includes>
    <includes local="no">list</includes>
    <includedby refid="App_8h" local="no">App.h</includedby>
    <incdepgraph>
      <node id="81">
        <label>list</label>
      </node>
      <node id="79">
        <label>AppInstanceManager.h</label>
        <link refid="AppInstanceManager.h"/>
        <childnode refid="80" relation="include">
        </childnode>
        <childnode refid="81" relation="include">
        </childnode>
      </node>
      <node id="80">
        <label>sigc++/sigc++.h</label>
      </node>
    </incdepgraph>
    <invincdepgraph>
      <node id="88">
        <label>GtkDialogs.h</label>
        <link refid="GtkDialogs_8h"/>
      </node>
      <node id="83">
        <label>App.h</label>
        <link refid="App_8h"/>
        <childnode refid="84" relation="include">
        </childnode>
        <childnode refid="87" relation="include">
        </childnode>
        <childnode refid="86" relation="include">
        </childnode>
      </node>
      <node id="87">
        <label>App_WithDoc.h</label>
        <link refid="App__WithDoc_8h"/>
        <childnode refid="85" relation="include">
        </childnode>
        <childnode refid="88" relation="include">
        </childnode>
        <childnode refid="86" relation="include">
        </childnode>
      </node>
      <node id="82">
        <label>AppInstanceManager.h</label>
        <link refid="AppInstanceManager.h"/>
        <childnode refid="83" relation="include">
        </childnode>
      </node>
      <node id="86">
        <label>bakery.h</label>
        <link refid="bakery_8h"/>
      </node>
      <node id="84">
        <label>App_Gtk.h</label>
        <link refid="App__Gtk_8h"/>
        <childnode refid="85" relation="include">
        </childnode>
        <childnode refid="86" relation="include">
        </childnode>
      </node>
      <node id="85">
        <label>App_WithDoc_Gtk.h</label>
        <link refid="App__WithDoc__Gtk_8h"/>
        <childnode refid="86" relation="include">
        </childnode>
      </node>
    </invincdepgraph>
    <innerclass refid="classBakery_1_1AppInstanceManager" prot="public">Bakery::AppInstanceManager</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/>2002<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_APPINSTANCEMANAGER_H</highlight></codeline>
<codeline lineno="20"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define<sp/>BAKERY_APPINSTANCEMANAGER_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;sigc++/sigc++.h&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="23"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;list&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="28"><highlight class="normal"></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal">App;</highlight></codeline>
<codeline lineno="29"><highlight class="normal"></highlight></codeline>
<codeline lineno="36" refid="classBakery_1_1AppInstanceManager" refkind="compound"><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classBakery_1_1AppInstanceManager" kindref="compound" tooltip="Contains a list of App instances.">AppInstanceManager</ref><sp/>:<sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/>sigc::trackable</highlight></codeline>
<codeline lineno="37"><highlight class="normal">{</highlight></codeline>
<codeline lineno="38"><highlight class="normal"></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="39"><highlight class="normal"><sp/><sp/><ref refid="classBakery_1_1AppInstanceManager_13b662aa0d5f555735f43c520897a8d6e" kindref="member">AppInstanceManager</ref>();</highlight></codeline>
<codeline lineno="40"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/><ref refid="classBakery_1_1AppInstanceManager_1c605d56a3df48c60fb698ab88a45f457" kindref="member">~AppInstanceManager</ref>();</highlight></codeline>
<codeline lineno="41"><highlight class="normal"></highlight></codeline>
<codeline lineno="42"><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_1AppInstanceManager_151577fc5fdf112b13e2547b13938ed49" kindref="member">add_app</ref>(<ref refid="classBakery_1_1App" kindref="compound" tooltip="Bakery&amp;#39;s Main Window.">App</ref>*<sp/>pApp);</highlight></codeline>
<codeline lineno="43"><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_1AppInstanceManager_120888ebf22b5a27811207145fb50f37b" kindref="member">close_all</ref>();</highlight></codeline>
<codeline lineno="44"><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_1AppInstanceManager_10b2da541911022809b771cf8c250227d" kindref="member">cancel_close_all</ref>();</highlight></codeline>
<codeline lineno="45"><highlight class="normal"></highlight></codeline>
<codeline lineno="46"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classBakery_1_1AppInstanceManager_1bae6c257408598c0169464c5fc23b795" kindref="member">get_app_count</ref>()<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="47"><highlight class="normal"></highlight></codeline>
<codeline lineno="48" refid="classBakery_1_1AppInstanceManager_1f98f3f7ea3a877cf8fae85648d5c62b7" refkind="member"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/>std::list&lt;App*&gt;<sp/><ref refid="classBakery_1_1AppInstanceManager_1f98f3f7ea3a877cf8fae85648d5c62b7" kindref="member">type_listAppInstances</ref>;</highlight></codeline>
<codeline lineno="49"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/><ref refid="classBakery_1_1AppInstanceManager_1f98f3f7ea3a877cf8fae85648d5c62b7" kindref="member">type_listAppInstances</ref><sp/><ref refid="classBakery_1_1AppInstanceManager_135f57930debe80f529d510938c3e4e6e" kindref="member">get_instances</ref>()<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;<sp/></highlight><highlight class="comment">//Used<sp/>by<sp/>App_WithDoc<sp/>to<sp/>get<sp/>associated<sp/>Documents.</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="50"><highlight class="normal"></highlight></codeline>
<codeline lineno="51"><highlight class="normal"></highlight><highlight class="keyword">protected</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="52"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">//Signal<sp/>handler:</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="53"><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_1AppInstanceManager_1506accaacc8169dd2b343eefce022e8c" kindref="member">on_app_hide</ref>(<ref refid="classBakery_1_1App" kindref="compound" tooltip="Bakery&amp;#39;s Main Window.">App</ref>*<sp/>pApp);</highlight></codeline>
<codeline lineno="54"><highlight class="normal"></highlight></codeline>
<codeline lineno="55"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">//Instances:</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="56" refid="classBakery_1_1AppInstanceManager_17d93ee3c70eb64529c02a3d762a98d08" refkind="member"><highlight class="normal"><sp/><sp/><ref refid="classBakery_1_1AppInstanceManager_1f98f3f7ea3a877cf8fae85648d5c62b7" kindref="member">type_listAppInstances</ref><sp/><ref refid="classBakery_1_1AppInstanceManager_17d93ee3c70eb64529c02a3d762a98d08" kindref="member">m_listAppInstances</ref>;</highlight></codeline>
<codeline lineno="57"><highlight class="normal"></highlight></codeline>
<codeline lineno="58" refid="classBakery_1_1AppInstanceManager_1c8cd0317c367fecd74720da1aafbe3b7" refkind="member"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classBakery_1_1AppInstanceManager_1c8cd0317c367fecd74720da1aafbe3b7" kindref="member">m_bExiting</ref>;</highlight></codeline>
<codeline lineno="59"><highlight class="normal">};</highlight></codeline>
<codeline lineno="60"><highlight class="normal"></highlight></codeline>
<codeline lineno="61"><highlight class="normal">}<sp/></highlight><highlight class="comment">//namespace</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="62"><highlight class="normal"></highlight></codeline>
<codeline lineno="63"><highlight class="normal"></highlight><highlight class="preprocessor">#endif<sp/>//BAKERY_APPINSTANCEMANAGER_H</highlight></codeline>
    </programlisting>
    <location file="/home/murrayc/svn/gnome220/bakery/bakery/App/AppInstanceManager.h"/>
  </compounddef>
</doxygen>
