/usr/include/bakery-2.6/bakery/App/GtkDialogs.h is in libbakery-2.6-dev 2.6.3-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | /*
* Copyright 2000 Murray Cumming
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the Free
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#ifndef BAKERY_APP_GTKDIALOGS_H
#define BAKERY_APP_GTKDIALOGS_H
#include <bakery/App/App_WithDoc.h>
namespace Bakery
{
/** This class implements some gtkmm UI abstractions.
*/
class GtkDialogs
{
public:
static void ui_warning(App& app, const Glib::ustring& text, const Glib::ustring& secondary_text);
static Glib::ustring ui_file_select_open(App& app, const Glib::ustring& starting_folder_uri = Glib::ustring());
///Ask the user for a filename, and ask for confirmation if the file exists already.
static Glib::ustring ui_file_select_save(App& app, const Glib::ustring& old_file_uri);
static void ui_show_modification_status();
static App_WithDoc::enumSaveChanges ui_offer_to_save_changes(App& app, const Glib::ustring& file_uri);
};
} //namespace
#endif //BAKERY_APP_GTKDIALOGS_H
|