Added missing '\endlegal'.
[synfig.git] / synfig-studio / trunk / src / gtkmm / about.h
1 /* === S Y N F I G ========================================================= */
2 /*!     \file about.h
3 **      \brief Header File
4 **
5 **      \legal
6 **      Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
7 **
8 **      This package is free software; you can redistribute it and/or
9 **      modify it under the terms of the GNU General Public License as
10 **      published by the Free Software Foundation; either version 2 of
11 **      the License, or (at your option) any later version.
12 **
13 **      This package is distributed in the hope that it will be useful,
14 **      but WITHOUT ANY WARRANTY; without even the implied warranty of
15 **      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 **      General Public License for more details.
17 **      \endlegal
18 **
19 ** === N O T E S ===========================================================
20 **
21 ** ========================================================================= */
22
23 /* === S T A R T =========================================================== */
24
25 #ifndef __SYNFIG_GTKMM_ABOUT_H
26 #define __SYNFIG_GTKMM_ABOUT_H
27
28 /* === H E A D E R S ======================================================= */
29
30 //#include <gtk/gtk.h>
31 #include <gtkmm/window.h>
32 #include <gtkmm/tooltips.h>
33 #include <gtkmm/label.h>
34 #include <gtkmm/button.h>
35 #include <gtkmm/progressbar.h>
36
37 /* === M A C R O S ========================================================= */
38
39 /* === T Y P E D E F S ===================================================== */
40
41 /* === C L A S S E S & S T R U C T S ======================================= */
42
43 namespace synfig { class ProgressCallback; };
44
45 namespace studio {
46
47 class AboutProgress;
48
49 class About : public Gtk::Window
50 {
51         friend class AboutProgress;
52
53         AboutProgress *cb;
54
55         Gtk::Tooltips _tooltips;
56
57         Gtk::Label *tasklabel;
58         Gtk::ProgressBar *progressbar;
59         Gtk::Button *CloseButton;
60
61         void close();
62
63         bool can_self_destruct;
64
65 public:
66
67         synfig::ProgressCallback *get_callback();
68
69         void set_can_self_destruct(bool x);
70
71         About();
72         ~About();
73 };
74
75 }
76
77 /* === E N D =============================================================== */
78
79 #endif