/* * Author: Chris Lord * * Copyright (c) 2007 OpenedHand Ltd - http://www.openedhand.com/ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * */ #ifndef JANA_TASK_H #define JANA_TASK_H #include #define JANA_TYPE_TASK (jana_task_get_type ()) #define JANA_TASK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),\ JANA_TYPE_TASK, JanaTask)) #define JANA_IS_TASK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),\ JANA_TYPE_TASK)) #define JANA_TASK_GET_INTERFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst),\ JANA_TYPE_TASK, JanaTaskInterface)) /** * JanaTask: * * The #JanaTask struct contains only private data. */ typedef struct _JanaTask JanaTask; /* Dummy object */ typedef struct _JanaTaskInterface JanaTaskInterface; struct _JanaTaskInterface { GTypeInterface parent; }; GType jana_task_get_type (void); #endif /* JANA_TASK_H */