Eliminated warnings about static functions declared with G_GNUC_INTERNAL
[projects/chimara/chimara.git] / src / chimara-glk.h
index 2f419722bd44e07c3480acdb6c4ebbd767ec3ebd..ef121a2236def5c445a36d0f27d31be6f5d31122 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <glib-object.h>
 #include <gtk/gtk.h>
+#include <pango/pango.h>
 
 G_BEGIN_DECLS
 
@@ -20,22 +21,23 @@ G_BEGIN_DECLS
 #define CHIMARA_GLK_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS((obj), \
                                      CHIMARA_TYPE_GLK, ChimaraGlkClass))
 
-typedef struct _ChimaraGlk ChimaraGlk;
-typedef struct _ChimaraGlkClass ChimaraGlkClass;
-
-struct _ChimaraGlk {
-    GtkContainer parent_instance;
+/**
+ * ChimaraGlk:
+ * 
+ * This structure contains no public members.
+ */
+typedef struct _ChimaraGlk {
+       GtkContainer parent_instance;
     
-    /* Public members */
-};
+       /*< public >*/
+} ChimaraGlk;
 
-struct _ChimaraGlkClass {
-    GtkContainerClass parent_class;
-    
-    /* Signals */
+typedef struct _ChimaraGlkClass {
+       GtkContainerClass parent_class;
+       /* Signals */
        void(* stopped) (ChimaraGlk *self);
        void(* started) (ChimaraGlk *self);
-};
+} ChimaraGlkClass;
 
 GType chimara_glk_get_type(void) G_GNUC_CONST;
 GtkWidget *chimara_glk_new(void);
@@ -43,10 +45,18 @@ void chimara_glk_set_interactive(ChimaraGlk *glk, gboolean interactive);
 gboolean chimara_glk_get_interactive(ChimaraGlk *glk);
 void chimara_glk_set_protect(ChimaraGlk *glk, gboolean protect);
 gboolean chimara_glk_get_protect(ChimaraGlk *glk);
+void chimara_glk_set_default_font_description(ChimaraGlk *glk, PangoFontDescription *font);
+void chimara_glk_set_default_font_string(ChimaraGlk *glk, const gchar *font);
+PangoFontDescription *chimara_glk_get_default_font_description(ChimaraGlk *glk);
+void chimara_glk_set_monospace_font_description(ChimaraGlk *glk, PangoFontDescription *font);
+void chimara_glk_set_monospace_font_string(ChimaraGlk *glk, const gchar *font);
+PangoFontDescription *chimara_glk_get_monospace_font_description(ChimaraGlk *glk);
+void chimara_glk_set_spacing(ChimaraGlk *glk, guint spacing);
+guint chimara_glk_get_spacing(ChimaraGlk *glk);
 gboolean chimara_glk_run(ChimaraGlk *glk, gchar *plugin, GError **error);
 void chimara_glk_stop(ChimaraGlk *glk);
 void chimara_glk_wait(ChimaraGlk *glk);
 
 G_END_DECLS
 
-#endif /* __CHIMARA_GLK_H__ */
\ No newline at end of file
+#endif /* __CHIMARA_GLK_H__ */