diff options
Diffstat (limited to 'cogl/cogl-bitmap.h')
-rw-r--r-- | cogl/cogl-bitmap.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/cogl/cogl-bitmap.h b/cogl/cogl-bitmap.h index d8c066d0..2b8b1931 100644 --- a/cogl/cogl-bitmap.h +++ b/cogl/cogl-bitmap.h @@ -44,12 +44,27 @@ typedef struct _CoglBitmap CoglBitmap; #include <cogl/cogl-context.h> #include <cogl/cogl-pixel-buffer.h> +#ifdef COGL_HAS_GTYPE_SUPPORT +#include <glib-object.h> +#endif + #ifdef COGL_HAS_ANDROID_SUPPORT #include <android/asset_manager.h> #endif COGL_BEGIN_DECLS +#ifdef COGL_HAS_GTYPE_SUPPORT +/** + * cogl_bitmap_get_gtype: + * + * Returns a #GType representing the #CoglBitmap type that can be used + * with the GLib type system. + */ +GType cogl_bitmap_get_gtype (void); +#endif + + /** * SECTION:cogl-bitmap * @short_description: Functions for loading images |