/*
 * e-source-calendar.c
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) version 3.
 *
 * 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
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with the program; if not, see <http://www.gnu.org/licenses/>
 *
 */

/* FIXME: Break these into separate files after libedataserver
 *        moves to a single include paradigm. */

/**
 * SECTION: e-source-calendar
 * @include: libedataserver/libedataserver.h
 * @short_description: #ESource extension for a calendar
 *
 * The #ESourceCalendar extension identifies the #ESource as a calendar.
 *
 * Access the extension as follows:
 *
 * |[
 *   #include <libedataserver/libedataserver.h>
 *
 *   ESourceCalendar *extension;
 *
 *   extension = e_source_get_extension (source, E_SOURCE_EXTENSION_CALENDAR);
 * ]|
 **/

/**
 * SECTION: e-source-memo-list
 * @include: libedataserver/libedataserver.h
 * @short_description: #ESource extension for a memo list
 *
 * The #ESourceCalendar extension identifies the #ESource as a memo list.
 *
 * Access the extension as follows:
 *
 * |[
 *   #include <libedataserver/libedataserver.h>
 *
 *   ESourceCalendar *extension;
 *
 *   extension = e_source_get_extension (source, E_SOURCE_EXTENSION_MEMO_LIST);
 * ]|
 **/

/**
 * SECTION: e-source-task-list
 * @include: libedataserver/libedataserver.h
 * @short_description: #ESource extension for a task list
 *
 * The #ESourceCalendar extension identifies the #ESource as a task list.
 *
 * Access the extension as follows:
 *
 * |[
 *   #include <libedataserver/libedataserver.h>
 *
 *   ESourceCalendar *extension;
 *
 *   extension = e_source_get_extension (source, E_SOURCE_EXTENSION_TASK_LIST);
 * ]|
 **/

#include "e-source-calendar.h"

#include <libedataserver/e-data-server-util.h>

G_DEFINE_TYPE (
	ESourceCalendar,
	e_source_calendar,
	E_TYPE_SOURCE_SELECTABLE)

G_DEFINE_TYPE (
	ESourceMemoList,
	e_source_memo_list,
	E_TYPE_SOURCE_SELECTABLE)

G_DEFINE_TYPE (
	ESourceTaskList,
	e_source_task_list,
	E_TYPE_SOURCE_SELECTABLE)

static void
e_source_calendar_class_init (ESourceCalendarClass *class)
{
	ESourceExtensionClass *extension_class;

	extension_class = E_SOURCE_EXTENSION_CLASS (class);
	extension_class->name = E_SOURCE_EXTENSION_CALENDAR;
}

static void
e_source_calendar_init (ESourceCalendar *extension)
{
}

static void
e_source_memo_list_class_init (ESourceMemoListClass *class)
{
	ESourceExtensionClass *extension_class;

	extension_class = E_SOURCE_EXTENSION_CLASS (class);
	extension_class->name = E_SOURCE_EXTENSION_MEMO_LIST;
}

static void
e_source_memo_list_init (ESourceMemoList *extension)
{
}

static void
e_source_task_list_class_init (ESourceTaskListClass *class)
{
	ESourceExtensionClass *extension_class;

	extension_class = E_SOURCE_EXTENSION_CLASS (class);
	extension_class->name = E_SOURCE_EXTENSION_TASK_LIST;
}

static void
e_source_task_list_init (ESourceTaskList *extension)
{
}
