From a8075ac935cec172972b7bea375db2c70eb4bec8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20Knau=C3=9F?= Date: Mon, 16 Jan 2017 18:40:10 +0100 Subject: starting with davresource --- examples/davresource/domainadaptor.h | 38 ++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 examples/davresource/domainadaptor.h (limited to 'examples/davresource/domainadaptor.h') diff --git a/examples/davresource/domainadaptor.h b/examples/davresource/domainadaptor.h new file mode 100644 index 0000000..7e3c723 --- /dev/null +++ b/examples/davresource/domainadaptor.h @@ -0,0 +1,38 @@ +/* + * Copyright (C) 2015 Christian Mollekopf + * + * 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 of the License, 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. + * + * 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., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ +#pragma once + +#include +#include "contact_generated.h" +#include "folder_generated.h" +#include "dummy_generated.h" + +class ContactAdaptorFactory : public DomainTypeAdaptorFactory +{ +public: + ContactAdaptorFactory(); + virtual ~ContactAdaptorFactory() {}; +}; + +class AddressbookAdaptorFactory : public DomainTypeAdaptorFactory +{ +public: + AddressbookAdaptorFactory(); + virtual ~AddressbookAdaptorFactory() {}; +}; -- cgit v1.2.3