1 #ifndef __dasher_main_h__
2 #define __dasher_main_h__
4 #include "DasherAppSettings.h"
5 #include "dasher_editor_internal.h"
8 #include <glib-object.h>
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
;
25 struct _DasherMainClass
{
26 GObjectClass parent_class
;
28 void (*realized
)(DasherMain
*pDasherMain
);
32 typedef struct _SCommandLine SCommandLine
;
34 struct _SCommandLine
{
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
);