~ubuntu-branches/debian/sid/gsmartcontrol/sid

« back to all changes in this revision

Viewing changes to src/gsc_about_dialog.h

  • Committer: Package Import Robot
  • Author(s): Giuseppe Iuculano
  • Date: 2013-05-31 11:41:52 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20130531114152-5ljhkuswwpt4kdwo
Tags: 0.8.7-1
* [314881d] Updated debian/watch
* [18ebada] Imported Upstream version 0.8.7
* [c2a1f1b] debian/rules: Provide build-arch and build-indep
* [d3036a4] Enabled Hardening Options
* [2edfb87] Refreshed patches and removed patches apllied upstream
* [ac3b953] Bump to standard versions 3.9.4
* [292c276] Remove quilt from depends

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**************************************************************************
2
2
 Copyright:
3
 
      (C) 2008 - 2011  Alexander Shaduri <ashaduri 'at' gmail.com>
 
3
      (C) 2008 - 2012  Alexander Shaduri <ashaduri 'at' gmail.com>
4
4
 License: See LICENSE_gsmartcontrol.txt
5
5
***************************************************************************/
 
6
/// \file
 
7
/// \author Alexander Shaduri
 
8
/// \ingroup gsc
 
9
/// \weakgroup gsc
 
10
/// @{
6
11
 
7
12
#ifndef GSC_ABOUT_DIALOG_H
8
13
#define GSC_ABOUT_DIALOG_H
15
20
 
16
21
 
17
22
 
18
 
// use create() / destroy() with this class instead of new / delete!
19
 
 
 
23
/// The About dialog.
 
24
/// Use create() / destroy() with this class instead of new / delete!
20
25
class GscAboutDialog : public AppUIResWidget<GscAboutDialog, false, Gtk::AboutDialog> {
21
 
 
22
26
        public:
23
27
 
24
28
                // name of glade/ui file without a .glade/.ui extension and quotes
32
36
                HZ_RES_DATA_INIT_NAMED(AUTHORS_txt, "AUTHORS.txt", AuthorsTextResData);
33
37
 
34
38
 
35
 
                // glade/gtkbuilder needs this constructor
 
39
                /// Constructor, gtkbuilder/glade needs this.
36
40
                GscAboutDialog(BaseObjectType* gtkcobj, const app_ui_res_ref_t& ref_ui);
37
41
 
38
 
 
 
42
                /// Virtual destructor
39
43
                virtual ~GscAboutDialog()
40
44
                { }
41
45
 
45
49
 
46
50
                // -------------------- Callbacks
47
51
 
 
52
                /// Callback - activate an URL
48
53
                void on_activate_url(Gtk::AboutDialog& about_dialog, const Glib::ustring& link);
49
54
 
 
55
                /// Callback - activate an email
50
56
                void on_activate_email(Gtk::AboutDialog& about_dialog, const Glib::ustring& link);
51
57
 
52
58
 
 
59
                /// Callback - dialog response
53
60
                void on_response_before(int response_id);
54
61
 
55
62
 
73
80
 
74
81
 
75
82
#endif
 
83
 
 
84
/// @}