2004-11-23 10:16:58 +00:00
|
|
|
#include "test-object.h"
|
|
|
|
|
|
|
|
enum
|
|
|
|
{
|
|
|
|
/* FILL ME */
|
|
|
|
SIGNAL_EVENT,
|
|
|
|
LAST_SIGNAL
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
static guint test_object_signals[LAST_SIGNAL] = { 0 };
|
|
|
|
|
2018-12-15 13:55:07 +00:00
|
|
|
G_DEFINE_TYPE (TestObject, test_object, G_TYPE_OBJECT);
|
2004-11-23 10:16:58 +00:00
|
|
|
|
2018-12-15 13:55:07 +00:00
|
|
|
static void
|
|
|
|
test_object_init (TestObject * self)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
static void
|
|
|
|
test_object_class_init (TestObjectClass * klass)
|
2004-11-23 10:16:58 +00:00
|
|
|
{
|
|
|
|
test_object_signals[SIGNAL_EVENT] =
|
|
|
|
g_signal_new ("event", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST,
|
2018-12-15 13:55:07 +00:00
|
|
|
G_STRUCT_OFFSET (TestObjectClass, event), NULL, NULL,
|
|
|
|
g_cclosure_marshal_VOID__BOXED, G_TYPE_NONE, 1, GST_TYPE_EVENT);
|
2004-11-23 10:16:58 +00:00
|
|
|
|
|
|
|
}
|