drawable.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #ifndef __REGRESS_TEST_INHERIT_DRAWABLE_H__
  2. #define __REGRESS_TEST_INHERIT_DRAWABLE_H__
  3. #include <glib-object.h>
  4. #include "gitestmacros.h"
  5. typedef struct _RegressTestInheritDrawable RegressTestInheritDrawable;
  6. typedef struct _RegressTestInheritDrawableClass RegressTestInheritDrawableClass;
  7. struct _RegressTestInheritDrawable
  8. {
  9. GObject parent_instance;
  10. };
  11. struct _RegressTestInheritDrawableClass
  12. {
  13. GObjectClass parent_class;
  14. };
  15. _GI_TEST_EXTERN
  16. GType regress_test_inherit_drawable_get_type (void) G_GNUC_CONST;
  17. _GI_TEST_EXTERN
  18. void regress_test_inherit_drawable_do_foo (RegressTestInheritDrawable *drawable, int x);
  19. _GI_TEST_EXTERN
  20. void regress_test_inherit_drawable_get_origin (RegressTestInheritDrawable *drawable, int *x, int *y);
  21. _GI_TEST_EXTERN
  22. void regress_test_inherit_drawable_get_size (RegressTestInheritDrawable *drawable, guint *width, guint *height);
  23. _GI_TEST_EXTERN
  24. void regress_test_inherit_drawable_do_foo_maybe_throw (RegressTestInheritDrawable *drawable, int x, GError **error);
  25. typedef struct _RegressTestInheritPixmapObjectClass RegressTestInheritPixmapObjectClass;
  26. struct _RegressTestInheritPixmapObjectClass
  27. {
  28. RegressTestInheritDrawableClass parent_class;
  29. };
  30. #endif /* __REGRESS_TEST_INHERIT_DRAWABLE_H__ */