/* * 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. * */ /** * SECTION:jana-task * @short_description: A task/todo component interface * @see_also: #JanaComponent * * #JanaTask is the interface for components that store task information. */ #include "jana-task.h" static void jana_task_base_init (gpointer g_class) { static gboolean initialized = FALSE; if (!initialized) { /* create interface signals here. */ initialized = TRUE; } } GType jana_task_get_type (void) { static GType type = 0; if (type == 0) { static const GTypeInfo info = { sizeof (JanaTaskInterface), jana_task_base_init, /* base_init */ NULL, }; type = g_type_register_static (G_TYPE_INTERFACE, "JanaTask", &info, 0); } return type; }