Code

Split SPCanvasItem and SPCanvasGroup to individual .h files. Pruned forward header.
[inkscape.git] / src / jabber_whiteboard / session-file-selector.h
1 /**
2  * Session file selector widget
3  *
4  * Authors:
5  * David Yip <yipdw@rose-hulman.edu>
6  *
7  * Copyright (c) 2005 Authors
8  *
9  * Released under GNU GPL, read the file 'COPYING' for more information
10  */
12 #ifndef __WHITEBOARD_SESSION_FILE_SELECTOR_BOX_H__
13 #define __WHITEBOARD_SESSION_FILE_SELECTOR_BOX_H__
15 #include <glibmm.h>
16 #include <gtkmm.h>
18 namespace Inkscape {
20 namespace Whiteboard {
22 class SessionFileSelectorBox : public Gtk::HBox {
23 public:
24         SessionFileSelectorBox();
25     virtual ~SessionFileSelectorBox();
27         bool isSelected();
28         Glib::ustring const& getFilename();
30 private:
31         // Construction
32         void _construct();
33         void _callback();
35         // GTK+ widgets
36         Gtk::CheckButton _usesessionfile;
37         Gtk::Entry _sessionfile;
38         Gtk::Button _getfilepath;
40         // Internal state
41         Glib::ustring _filename;
42 };
44 }
46 }
48 #endif
50 /*
51   Local Variables:
52   mode:c++
53   c-file-style:"stroustrup"
54   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
55   indent-tabs-mode:nil
56   fill-column:99
57   End:
58 */
59 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :