| 1 |
#ifndef MESON_SAMPLE_H |
| 2 |
#define MESON_SAMPLE_H |
| 3 |
|
| 4 |
#if !defined (MESON_TEST) |
| 5 |
#error "MESON_TEST not defined." |
| 6 |
#endif |
| 7 |
|
| 8 |
#include <glib-object.h> |
| 9 |
|
| 10 |
G_BEGIN_DECLS |
| 11 |
|
| 12 |
#define MESON_TYPE_SAMPLE (meson_sample_get_type()) |
| 13 |
|
| 14 |
G_DECLARE_DERIVABLE_TYPE (MesonSample, meson_sample, MESON, SAMPLE, GObject) |
| 15 |
|
| 16 |
struct _MesonSampleClass { |
| 17 |
GObjectClass parent_class; |
| 18 |
}; |
| 19 |
|
| 20 |
|
| 21 |
MesonSample *meson_sample_new (const gchar *msg); |
| 22 |
void meson_sample_print_message (MesonSample *self); |
| 23 |
|
| 24 |
G_END_DECLS |
| 25 |
|
| 26 |
#endif /* MESON_SAMPLE_H */ |