App_WithDoc_Gtk.h
bakery/App/App_WithDoc.h
bakery/App/App_Gtk.h
bakery/Document/Document.h
gtkmm/toolbutton.h
bakery.h
list
ViewBase.h
bakeryconfig.h
gtkmm/toolbar.h
bakery/App/App_WithDoc.h
map
bakery/App/App_Gtk.h
gtkmm/menubar.h
gtkmm/handlebox.h
glibmm/object.h
gtkmm/toolbutton.h
bakery/App/AppInstanceManager.h
vector
gtkmm/dialog.h
sigc++/sigc++.h
bakery/Document/Document.h
iostream
bakery/App/App.h
gtkmm/uimanager.h
sigc++/trackable.h
libglademm.h
App_WithDoc_Gtk.h
gtkmm/menu.h
glibmmconfig.h
bakery/View/View.h
glibmm.h
bakery.h
App_WithDoc_Gtk.h
Bakery::App_WithDoc_Gtk
Bakery

    /*
    *Copyright2000MurrayCumming
    *
    *Thislibraryisfreesoftware;youcanredistributeitand/or
    *modifyitunderthetermsoftheGNULibraryGeneralPublic
    *LicenseaspublishedbytheFreeSoftwareFoundation;either
    *version2oftheLicense,or(atyouroption)anylaterversion.
    *
    *Thislibraryisdistributedinthehopethatitwillbeuseful,
    *butWITHOUTANYWARRANTY;withouteventheimpliedwarrantyof
    *MERCHANTABILITYorFITNESSFORAPARTICULARPURPOSE.SeetheGNU
    *LibraryGeneralPublicLicenseformoredetails.
    *
    *YoushouldhavereceivedacopyoftheGNULibraryGeneralPublic
    *Licensealongwiththislibrary;ifnot,writetotheFree
    *SoftwareFoundation,Inc.,675MassAve,Cambridge,MA02139,USA.
    */

    #ifndefBAKERY_APP_WITHDOC_GTK_H
    #defineBAKERY_APP_WITHDOC_GTK_H

    #include<bakery/App/App_WithDoc.h>
    #include<bakery/App/App_Gtk.h>
    #include<bakery/Document/Document.h>
    #include<gtkmm/toolbutton.h>

    #ifndefDOXYGEN_SHOULD_SKIP_THIS
    extern"C"{
    typedefstruct_EggRecentItemEggRecentItem;
    }

    //Wedonotincludegtkmm/recentchooser.hsothatthisstillcompiles
    //withgtkmm-2.6
    namespaceGtk{
    classRecentChooser;
    }
    #endif//DOXYGEN_SHOULD_SKIP_THIS

    namespaceBakery
    {

    classApp_WithDoc_Gtk
    //Thesearevirtualbaseclasses,withsharedsharedAppandsigc::trackablebaseclasses:
    :publicApp_WithDoc,
    publicApp_Gtk
    {
    public:
    App_WithDoc_Gtk(constGlib::ustring&appname);

    App_WithDoc_Gtk(BaseObjectType*cobject,constGlib::ustring&appname);

    virtual~App_WithDoc_Gtk();

    virtualvoidinit();//Uniquefinaloverrider.

    protected:
    virtualvoidinit_menus_file();//overriddentoaddopen/save/saveas.
    virtualvoidinit_menus_file_recentfiles(constGlib::ustring&path);//callthisininit_menus_file()
    virtualvoidinit_toolbars();//overriddentoaddopen/save

    virtualvoiddocument_history_add(constGlib::ustring&file_uri);//overridden.
    virtualvoiddocument_history_remove(constGlib::ustring&file_uri);//overridden.

    virtualvoidupdate_window_title();

    virtualvoidui_warning(constGlib::ustring&text,constGlib::ustring&secondary_text);
    virtualGlib::ustringui_file_select_open(constGlib::ustring&starting_folder_uri=Glib::ustring());
    virtualGlib::ustringui_file_select_save(constGlib::ustring&old_file_uri);
    virtualvoidui_show_modification_status();
    virtualenumSaveChangesui_offer_to_save_changes();

    voidon_recent_files_activate(Gtk::RecentChooser&recent_chooser);

    //Menustuff:
    Glib::RefPtr<Gtk::Action>m_action_save,m_action_saveas;
    };

    }//namespace

    #endif//BAKERY_APP_WITHDOC_GTK_H