1
#ifndef TNY_TEST_OBJECT_H
2
#define TNY_TEST_OBJECT_H
4
/* tinymail - Tiny Mail unit test
5
* Copyright (C) 2006-2007 Philip Van Hoof <pvanhoof@gnome.org>
7
* This program is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation; either version 2 of the License, or
10
* (at your option) any later version.
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
17
* You should have received a copy of the GNU General Public License
18
* along with self program; if not, write to the Free Software
19
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23
#include <glib-object.h>
27
#define TNY_TYPE_TEST_OBJECT (tny_test_object_get_type ())
28
#define TNY_TEST_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TNY_TYPE_TEST_OBJECT, TnyTestObject))
29
#define TNY_TEST_OBJECT_CLASS(vtable) (G_TYPE_CHECK_CLASS_CAST ((vtable), TNY_TYPE_TEST_OBJECT, TnyTestObjectClass))
30
#define TNY_IS_TEST_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TNY_TYPE_TEST_OBJECT))
31
#define TNY_IS_TEST_OBJECT_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), TNY_TYPE_TEST_OBJECT))
32
#define TNY_TEST_OBJECT_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), TNY_TYPE_TEST_OBJECT, TnyTestObjectClass))
35
typedef struct _TnyTestObject TnyTestObject;
36
typedef struct _TnyTestObjectClass TnyTestObjectClass;
38
struct _TnyTestObject {
43
struct _TnyTestObjectClass
48
GObject* tny_test_object_new (gchar *str);