summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2015-12-05 16:16:49 +0100
committerAttila Molnar <attilamolnar@hush.com>2015-12-05 16:16:49 +0100
commit425d54073a0ae61c68de1b339177bb7c0db116f1 (patch)
tree8a0e4e91f0a5deeaa3e50ef5f42c983400e0c393 /include
parentddc6999a1db1aa1e9bf9df2f1ab444c387bcd5b1 (diff)
m_cap Specialize extension item
Diffstat (limited to 'include')
-rw-r--r--include/modules/cap.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/modules/cap.h b/include/modules/cap.h
index 6f91f5aee..9ff5faca9 100644
--- a/include/modules/cap.h
+++ b/include/modules/cap.h
@@ -28,7 +28,14 @@ namespace Cap
static const unsigned int MAX_VALUE_LENGTH = 100;
typedef intptr_t Ext;
- typedef LocalIntExt ExtItem;
+ class ExtItem : public LocalIntExt
+ {
+ public:
+ ExtItem(Module* mod);
+ std::string serialize(SerializeFormat format, const Extensible* container, void* item) const;
+ void unserialize(SerializeFormat format, Extensible* container, const std::string& value);
+ };
+
class Capability;
enum Protocol