diff options
Diffstat (limited to 'examples/davresource/facade.cpp')
-rw-r--r-- | examples/davresource/facade.cpp | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/examples/davresource/facade.cpp b/examples/davresource/facade.cpp new file mode 100644 index 0000000..b56815a --- /dev/null +++ b/examples/davresource/facade.cpp | |||
@@ -0,0 +1,44 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2014 Christian Mollekopf <chrigi_1@fastmail.fm> | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License as published by | ||
6 | * the Free Software Foundation; either version 2 of the License, or | ||
7 | * (at your option) any later version. | ||
8 | * | ||
9 | * This program is distributed in the hope that it will be useful, | ||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | * GNU General Public License for more details. | ||
13 | * | ||
14 | * You should have received a copy of the GNU General Public License | ||
15 | * along with this program; if not, write to the | ||
16 | * Free Software Foundation, Inc., | ||
17 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
18 | */ | ||
19 | |||
20 | #include "facade.h" | ||
21 | |||
22 | #include <QDir> | ||
23 | #include <QFileInfo> | ||
24 | |||
25 | #include "query.h" | ||
26 | |||
27 | DavResourceContactFacade::DavResourceContactFacade(const Sink::ResourceContext &context) | ||
28 | : Sink::GenericFacade<Sink::ApplicationDomain::Contact>(context) | ||
29 | { | ||
30 | } | ||
31 | |||
32 | DavResourceContactFacade::~DavResourceContactFacade() | ||
33 | { | ||
34 | } | ||
35 | |||
36 | |||
37 | DavResourceFolderFacade::DavResourceFolderFacade(const Sink::ResourceContext &context) | ||
38 | : Sink::GenericFacade<Sink::ApplicationDomain::Folder>(context) | ||
39 | { | ||
40 | } | ||
41 | |||
42 | DavResourceFolderFacade::~DavResourceFolderFacade() | ||
43 | { | ||
44 | } | ||