tagging release
[dasher.git] / trunk / Src / Gtk2 / dasher_main.h
blob4cb0f0b53a39ffb0899ebf454a1fa229e5569529
1 #ifndef __dasher_main_h__
2 #define __dasher_main_h__
4 #include "DasherAppSettings.h"
5 #include "dasher_editor_internal.h"
7 #include <glib.h>
8 #include <glib-object.h>
10 G_BEGIN_DECLS
11 #define TYPE_DASHER_MAIN (dasher_main_get_type())
12 #define DASHER_MAIN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), TYPE_DASHER_MAIN, DasherMain ))
13 #define DASHER_MAIN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_DASHER_MAIN, DasherMainClass ))
14 #define IS_DASHER_MAIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), TYPE_DASHER_MAIN))
15 #define IS_DASHER_MAIN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_DASHER_MAIN))
16 #define DASHER_MAIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_DASHER_MAIN, DasherMainClass))
18 typedef struct _DasherMain DasherMain;
19 typedef struct _DasherMainClass DasherMainClass;
21 struct _DasherMain {
22 GObject parent;
25 struct _DasherMainClass {
26 GObjectClass parent_class;
28 void (*realized)(DasherMain *pDasherMain);
32 typedef struct _SCommandLine SCommandLine;
34 struct _SCommandLine {
35 gchar *szFilename;
36 gchar *szAppStyle;
39 DasherMain *dasher_main_new(int *argc, char ***argv, SCommandLine *pCommandLine);
40 GType dasher_main_get_type();
41 //DasherEditorInternal *dasher_main_get_editor(DasherMain *pSelf);
42 void dasher_main_show(DasherMain *pSelf);
43 G_END_DECLS
45 #endif