Back to index

dbus-test-runner  12.10.0
bustle.h
Go to the documentation of this file.
00001 /*
00002 Copyright 2012 Canonical Ltd.
00003 
00004 Authors:
00005     Ted Gould <ted@canonical.com>
00006 
00007 This program is free software: you can redistribute it and/or modify it 
00008 under the terms of the GNU General Public License version 3, as published 
00009 by the Free Software Foundation.
00010 
00011 This program is distributed in the hope that it will be useful, but 
00012 WITHOUT ANY WARRANTY; without even the implied warranties of 
00013 MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR 
00014 PURPOSE.  See the GNU General Public License for more details.
00015 
00016 You should have received a copy of the GNU General Public License along 
00017 with this program.  If not, see <http://www.gnu.org/licenses/>.
00018 */
00019 
00020 #ifndef __DBUS_TEST_BUSTLE_H__
00021 #define __DBUS_TEST_BUSTLE_H__
00022 
00023 #include <glib.h>
00024 #include <glib-object.h>
00025 
00026 G_BEGIN_DECLS
00027 
00028 #define DBUS_TEST_TYPE_BUSTLE            (dbus_test_bustle_get_type ())
00029 #define DBUS_TEST_BUSTLE(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), DBUS_TEST_TYPE_BUSTLE, DbusTestBustle))
00030 #define DBUS_TEST_BUSTLE_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), DBUS_TEST_TYPE_BUSTLE, DbusTestBustleClass))
00031 #define DBUS_TEST_IS_BUSTLE(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), DBUS_TEST_TYPE_BUSTLE))
00032 #define DBUS_TEST_IS_BUSTLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), DBUS_TEST_TYPE_BUSTLE))
00033 #define DBUS_TEST_BUSTLE_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), DBUS_TEST_TYPE_BUSTLE, DbusTestBustleClass))
00034 
00035 typedef struct _DbusTestBustle        DbusTestBustle;
00036 typedef struct _DbusTestBustleClass   DbusTestBustleClass;
00037 typedef struct _DbusTestBustlePrivate DbusTestBustlePrivate;
00038 
00039 struct _DbusTestBustleClass {
00040        DbusTestTaskClass parent_class;
00041 };
00042 
00043 struct _DbusTestBustle {
00044        DbusTestTask parent;
00045        DbusTestBustlePrivate * priv;
00046 };
00047 
00048 GType dbus_test_bustle_get_type (void);
00049 
00050 DbusTestBustle * dbus_test_bustle_new (const gchar * filename);
00051 void dbus_test_bustle_set_executable (DbusTestBustle * bustle, const gchar * executable);
00052 
00053 G_END_DECLS
00054 
00055 #endif