summaryrefslogtreecommitdiffstats
path: root/examples/dummyresource/domainadaptor.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-06-01 09:26:31 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-06-01 09:26:31 +0200
commit9ae4fcadc9200f1c9cf6322b98449b0de69112ac (patch)
tree930e9e326980dd10e2975a5f69cc982d1fb9e580 /examples/dummyresource/domainadaptor.h
parent9a9557b6431e8d27420603f4895e480d766f6ae2 (diff)
downloadsink-9ae4fcadc9200f1c9cf6322b98449b0de69112ac.tar.gz
sink-9ae4fcadc9200f1c9cf6322b98449b0de69112ac.zip
Generalized creating the buffer.
Diffstat (limited to 'examples/dummyresource/domainadaptor.h')
-rw-r--r--examples/dummyresource/domainadaptor.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/examples/dummyresource/domainadaptor.h b/examples/dummyresource/domainadaptor.h
index 0490387..8b6d96b 100644
--- a/examples/dummyresource/domainadaptor.h
+++ b/examples/dummyresource/domainadaptor.h
@@ -1,3 +1,21 @@
1/*
2 * Copyright (C) 2015 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 */
1#pragma once 19#pragma once
2 20
3#include "common/domainadaptor.h" 21#include "common/domainadaptor.h"
@@ -10,5 +28,4 @@ class DummyEventAdaptorFactory : public DomainTypeAdaptorFactory<Akonadi2::Appli
10public: 28public:
11 DummyEventAdaptorFactory(); 29 DummyEventAdaptorFactory();
12 virtual ~DummyEventAdaptorFactory() {}; 30 virtual ~DummyEventAdaptorFactory() {};
13 virtual void createBuffer(const Akonadi2::ApplicationDomain::Event &event, flatbuffers::FlatBufferBuilder &fbb);
14}; 31};