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/ustring.h>
16 #include <gtkmm/checkbutton.h>
17 #include <gtkmm/entry.h>
18 #include <gtkmm/box.h>
20 namespace Inkscape {
22 namespace Whiteboard {
24 class SessionFileSelectorBox : public Gtk::HBox {
25 public:
26 SessionFileSelectorBox();
27 ~SessionFileSelectorBox();
29 bool isSelected();
30 Glib::ustring const& getFilename();
32 private:
33 // Construction
34 void _construct();
35 void _callback();
37 // GTK+ widgets
38 Gtk::CheckButton _usesessionfile;
39 Gtk::Entry _sessionfile;
40 Gtk::Button _getfilepath;
42 // Internal state
43 Glib::ustring _filename;
44 };
46 }
48 }
50 #endif
52 /*
53 Local Variables:
54 mode:c++
55 c-file-style:"stroustrup"
56 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
57 indent-tabs-mode:nil
58 fill-column:99
59 End:
60 */
61 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :