summaryrefslogtreecommitdiffstats
path: root/common/domainadaptor.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/domainadaptor.h')
-rw-r--r--common/domainadaptor.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/common/domainadaptor.h b/common/domainadaptor.h
index e356692..d07a2bd 100644
--- a/common/domainadaptor.h
+++ b/common/domainadaptor.h
@@ -79,10 +79,15 @@ private:
79 79
80/** 80/**
81 * Defines how to convert qt primitives to flatbuffer ones 81 * Defines how to convert qt primitives to flatbuffer ones
82 * TODO: rename to createProperty or so?
83 */ 82 */
84template <class T> 83template <class T>
85flatbuffers::uoffset_t extractProperty(const QVariant &, flatbuffers::FlatBufferBuilder &fbb); 84flatbuffers::uoffset_t variantToProperty(const QVariant &, flatbuffers::FlatBufferBuilder &fbb);
85
86/**
87 * Defines how to convert flatbuffer primitives to qt ones
88 */
89template <typename T>
90QVariant propertyToVariant(const flatbuffers::String *);
86 91
87/** 92/**
88 * Create a buffer from a domain object using the provided mappings 93 * Create a buffer from a domain object using the provided mappings