/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* e-book-backend-dummy-factory.c - Dummy contact backend factory. * * Copyright (C) 2007 Ross Burton * * This program is free software; you can redistribute it and/or modify it under * the terms of version 2 of the GNU General Public License as published by the * Free Software Foundation. * * 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. * * You should have received a copy of the GNU General Public License along with * this program; if not, write to the Free Software Foundation, Inc., 59 Temple * Place - Suite 330, Boston, MA 02111-1307, USA. * * Author: Ross Burton */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include "e-book-backend-dummy.h" E_BOOK_BACKEND_FACTORY_SIMPLE (dummy, Dummy, e_book_backend_dummy_new); static GType dummy_type; void eds_module_initialize (GTypeModule *module) { dummy_type = _dummy_factory_get_type (module); } void eds_module_shutdown (void) { } void eds_module_list_types (const GType **types, int *num_types) { *types = &dummy_type; *num_types = 1; }