diff options
Diffstat (limited to 'backends/dummy/dummy-backend-factory.vala')
-rw-r--r-- | backends/dummy/dummy-backend-factory.vala | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/backends/dummy/dummy-backend-factory.vala b/backends/dummy/dummy-backend-factory.vala new file mode 100644 index 00000000..8228ef47 --- /dev/null +++ b/backends/dummy/dummy-backend-factory.vala @@ -0,0 +1,49 @@ +/* + * Copyright (C) 2009 Zeeshan Ali (Khattak) <zeeshanak@gnome.org>. + * Copyright (C) 2009 Nokia Corporation. + * Copyright (C) 2011, 2013 Collabora Ltd. + * + * This library 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.1 of the License, or + * (at your option) any later version. + * + * This library 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 this library. If not, see <http://www.gnu.org/licenses/>. + * + * Authors: Zeeshan Ali (Khattak) <zeeshanak@gnome.org> + * Travis Reitter <travis.reitter@collabora.co.uk> + * Marco Barisione <marco.barisione@collabora.co.uk> + * Raul Gutierrez Segales <raul.gutierrez.segales@collabora.co.uk> + * + * This file was originally part of Rygel. + */ + +using Folks; + +/** + * The dummy backend module entry point. + * + * @backend_store a store to add the dummy backends to + * @since UNRELEASED + */ +public void module_init (BackendStore backend_store) +{ + backend_store.add_backend (new FolksDummy.Backend ()); +} + +/** + * The dummy backend module exit point. + * + * @param backend_store the store to remove the backends from + * @since UNRELEASED + */ +public void module_finalize (BackendStore backend_store) +{ + /* FIXME: No backend_store.remove_backend() API exists. */ +} |