1 /* 2 * e-source-task-list.c 3 * 4 * This library is free software: you can redistribute it and/or modify it 5 * under the terms of the GNU Lesser General Public License as published by 6 * the Free Software Foundation. 7 * 8 * This library is distributed in the hope that it will be useful, but 9 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 10 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License 11 * for more details. 12 * 13 * You should have received a copy of the GNU Lesser General Public License 14 * along with this library. If not, see <http://www.gnu.org/licenses/>. 15 * 16 */ 17 18 /** 19 * SECTION: e-source-task-list 20 * @include: libedataserver/libedataserver.h 21 * @short_description: #ESource extension for a task list 22 * 23 * The #ESourceCalendar extension identifies the #ESource as a task list. 24 * 25 * Access the extension as follows: 26 * 27 * |[ 28 * #include <libedataserver/libedataserver.h> 29 * 30 * ESourceCalendar *extension; 31 * 32 * extension = e_source_get_extension (source, E_SOURCE_EXTENSION_TASK_LIST); 33 * ]| 34 **/ 35 36 #include "e-source-task-list.h" 37 38 #include <libedataserver/e-data-server-util.h> 39 G_DEFINE_TYPE(ESourceTaskList,e_source_task_list,E_TYPE_SOURCE_SELECTABLE)40G_DEFINE_TYPE ( 41 ESourceTaskList, 42 e_source_task_list, 43 E_TYPE_SOURCE_SELECTABLE) 44 45 static void 46 e_source_task_list_class_init (ESourceTaskListClass *class) 47 { 48 ESourceExtensionClass *extension_class; 49 50 extension_class = E_SOURCE_EXTENSION_CLASS (class); 51 extension_class->name = E_SOURCE_EXTENSION_TASK_LIST; 52 } 53 54 static void e_source_task_list_init(ESourceTaskList * extension)55e_source_task_list_init (ESourceTaskList *extension) 56 { 57 } 58