summaryrefslogtreecommitdiffstats
path: root/test cases/frameworks/11 gir subproject/subprojects/mesongir/meson-sample.h
blob: e4c07a8cf9723d3aa1ac983e50d19f4be05f4ed6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef MESON_SAMPLE_H
#define MESON_SAMPLE_H

#if !defined (MESON_TEST)
#error "MESON_TEST not defined."
#endif

#include <glib-object.h>

G_BEGIN_DECLS

#define MESON_TYPE_SAMPLE (meson_sample_get_type())

G_DECLARE_DERIVABLE_TYPE (MesonSample, meson_sample, MESON, SAMPLE, GObject)

struct _MesonSampleClass {
    GObjectClass parent_class;
};


MesonSample *meson_sample_new           (const gchar *msg);
void         meson_sample_print_message (MesonSample *self);

G_END_DECLS

#endif /* MESON_SAMPLE_H */