This file is indexed.

/usr/include/bakery-2.6/bakery/Configuration/Dialog_Preferences.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
/*
 * Copyright 2002 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_CONFIGURATION_DIALOG_PREFERENCES_H
#define BAKERY_CONFIGURATION_DIALOG_PREFERENCES_H

#include <libglademm.h>
#include <bakery/Configuration/Client.h>
#include <gtkmm/dialog.h>

namespace Bakery
{

/** Preferences Dialog
 * In the Glade file:
 * - The vbox should contain a widget called "vbox".
 *
 * Use connect_widget(conf_key, widget_name) in the constructor.
 *
 * This is the base class for preferences dialogs and
 * supports only Gtk widgets. The Dialog_Preferences_GnomeUI
 * class in the bakery_gnomeui module supports Gnome::UI widgets in
 * addition to Gtk widgets.
 */
class Dialog_Preferences : public Gtk::Dialog
{
public:
  /// if instant is true then this will be an instant-apply preference dialog.
  Dialog_Preferences(Gtk::Window& parent, const Glib::ustring& configuration_directory, const Glib::ustring& glade_filename, const Glib::ustring& widget_name = "vbox", bool instant = false);
  virtual ~Dialog_Preferences();

#ifdef GLIBMM_EXCEPTIONS_ENABLED
  virtual void load();
  virtual void save();
#else
  virtual void load(std::auto_ptr<Glib::Error>& error);
  virtual void save(std::auto_ptr<Glib::Error>& error);
#endif

protected:

   //Signal handlers:
  virtual void on_button_help();

  virtual void connect_widget(const Glib::ustring& key, const Glib::ustring& glade_widget_name);

  virtual void on_show(); //override.
  virtual void on_hide(); //override.
  virtual void on_response(int response_id); // override.

  Gtk::Button m_Button_Close, m_Button_Cancel, m_Button_Help;

  bool m_instant;
  Glib::RefPtr<Gnome::Glade::Xml> m_refGlade;
  Bakery::Conf::Client* m_pConfClient;
};


} //namespace Bakery

#endif //BAKERY_CONFIGURATION_DIALOG_PREFERENCES_H