Revision 15509,
1.7 KB
checked in by ghudson, 24 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r15508,
which included commits to RCS files with non-trunk default branches.
|
Line | |
---|
1 | /* |
---|
2 | * Author: |
---|
3 | * Dietmar Maurer (dietmar@maurer-it.com) |
---|
4 | * |
---|
5 | * Copyright 1999 Maurer IT Systemlösungen (http://www.maurer-it.com) |
---|
6 | */ |
---|
7 | |
---|
8 | #ifndef _GSHELL_H_ |
---|
9 | #define _GSHELL_H_ |
---|
10 | |
---|
11 | #include <config.h> |
---|
12 | #include <gnome.h> |
---|
13 | #include <bonobo.h> |
---|
14 | |
---|
15 | typedef struct { |
---|
16 | BonoboUIContainer *container; |
---|
17 | BonoboUIComponent *component; |
---|
18 | BonoboWindow *win; |
---|
19 | GtkWidget *vbox; |
---|
20 | BonoboViewFrame *active_view_frame; |
---|
21 | GList *view_list; |
---|
22 | } Frame; |
---|
23 | |
---|
24 | typedef struct { |
---|
25 | BonoboClientSite *client_site; |
---|
26 | BonoboObjectClient *server; |
---|
27 | BonoboZoomableFrame *zoomable_frame; |
---|
28 | gchar *verb; |
---|
29 | gchar *name; |
---|
30 | gint verb_id; |
---|
31 | } Buffer; |
---|
32 | |
---|
33 | typedef struct { |
---|
34 | BonoboItemContainer *container; |
---|
35 | GList *frame_list; |
---|
36 | GList *buffer_list; |
---|
37 | GtkFileSelection *fs; |
---|
38 | } Application; |
---|
39 | |
---|
40 | extern Application app; |
---|
41 | |
---|
42 | extern BonoboUIVerb gshell_verbs[]; |
---|
43 | |
---|
44 | Frame *get_active_frame (GtkWidget *widget); |
---|
45 | BonoboViewFrame *get_active_view_frame (Frame *frame); |
---|
46 | Buffer *buffer_create (const char *component_goad_id); |
---|
47 | Buffer *buffer_create_for_control (const char *component_goad_id); |
---|
48 | gint view_remove (Frame *frame, |
---|
49 | BonoboViewFrame *view_frame); |
---|
50 | void buffer_add_view (Buffer *buffer, |
---|
51 | Frame *frame, |
---|
52 | gint pos); |
---|
53 | gboolean bonobo_object_has_interface (BonoboObject *obj, |
---|
54 | char *interface); |
---|
55 | void set_buffer_cb (BonoboUIComponent *uih, |
---|
56 | void *buffer, |
---|
57 | const char *path); |
---|
58 | |
---|
59 | void open_files (Frame *frame, |
---|
60 | int argc, char **argv); |
---|
61 | |
---|
62 | void file_open (Frame *frame, char *name); |
---|
63 | |
---|
64 | |
---|
65 | |
---|
66 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.