Code

Merge and cleanup of GSoC C++-ification project.
[inkscape.git] / src / interface.h
1 #ifndef SEEN_SP_INTERFACE_H
2 #define SEEN_SP_INTERFACE_H
4 /*
5  * Main UI stuff
6  *
7  * Authors:
8  *   Lauris Kaplinski <lauris@kaplinski.com>
9  *   Frank Felfe <innerspace@iname.com>
10  *   Abhishek Sharma
11  *
12  * Copyright (C) 1999-2002 authors
13  * Copyright (C) 2001-2002 Ximian, Inc.
14  *
15  * Released under GNU GPL, read the file 'COPYING' for more information
16  */
18 #include <gtk/gtkstyle.h>
20 #include "forward.h"
21 #include "sp-item.h"
23 /**
24  *  Create a new document window.
25  */
26 void sp_create_window (SPViewWidget *vw, gboolean editable);
28 /**
29  *
30  */
31 void sp_ui_close_view (GtkWidget *widget);
33 /**
34  *
35  */
36 void sp_ui_new_view (void);
37 void sp_ui_new_view_preview (void);
39 /**
40  *
41  */
42 unsigned int sp_ui_close_all (void);
44 /**
45  *
46  */
47 GtkWidget *sp_ui_main_menubar (Inkscape::UI::View::View *view);
49 /**
50  *
51  */
52 GtkWidget *sp_ui_context_menu (Inkscape::UI::View::View *v, SPItem *item);
55 /**
56  *
57  */
58 void sp_menu_append_recent_documents (GtkWidget *menu);
61 /**
62  *
63  */
64 void sp_ui_dialog_title_string (Inkscape::Verb * verb, gchar* c);
67 /**
68  *
69  */
70 void sp_ui_error_dialog (const gchar * message);
71 bool sp_ui_overwrite_file (const gchar * filename);
73 #endif // SEEN_SP_INTERFACE_H
75 /*
76   Local Variables:
77   mode:c++
78   c-file-style:"stroustrup"
79   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
80   indent-tabs-mode:nil
81   fill-column:99
82   End:
83 */
84 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :