Code

SP_DT_DOCUMENT -> sp_desktop_document
[inkscape.git] / src / jabber_whiteboard / invitation-confirm-dialog.h
1 /**
2  * Whiteboard invitation confirmation dialog --
3  * quick subclass of Gtk::MessageDialog
4  *
5  * Authors:
6  * David Yip <yipdw@rose-hulman.edu>
7  *
8  * Copyright (c) 2005 Authors
9  *
10  * Released under GNU GPL, read the file 'COPYING' for more information
11  */
13 #ifndef __WHITEBOARD_INVITATION_CONFIRM_DIALOG_H__
14 #define __WHITEBOARD_INVITATION_CONFIRM_DIALOG_H__
16 #include <gtkmm/messagedialog.h>
17 #include <gtkmm/checkbutton.h>
18 #include <gtkmm/entry.h>
20 #include "jabber_whiteboard/session-file-selector.h"
23 namespace Inkscape {
25 namespace Whiteboard {
27 class InvitationConfirmDialog : public Gtk::MessageDialog {
28 public:
29         InvitationConfirmDialog(Glib::ustring const& msg);
30         ~InvitationConfirmDialog();
32         Glib::ustring const& getSessionFilePath();
33         bool useSessionFile();
35 private:
36         static unsigned int const SELECT_FILE = 0;
38         void _respCallback(int resp);
40         Gtk::HBox _filesel;
42         SessionFileSelectorBox _sfsbox;
43         Gtk::CheckButton _usesessionfile;
44         Gtk::Entry _sessionfile;
45         Gtk::Button _getfilepath;
47         void _construct();
48         Glib::ustring _selectedpath;
50         // noncopyable, nonassignable
51         InvitationConfirmDialog(InvitationConfirmDialog const&);
52         InvitationConfirmDialog& operator=(InvitationConfirmDialog const&);
53 };
55 }
57 }
58 #endif
60 /*
61   Local Variables:
62   mode:c++
63   c-file-style:"stroustrup"
64   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
65   indent-tabs-mode:nil
66   fill-column:99
67   End:
68 */
69 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :