summaryrefslogtreecommitdiff
path: root/src/content_nodemeta.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/content_nodemeta.h')
-rw-r--r--src/content_nodemeta.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/content_nodemeta.h b/src/content_nodemeta.h
index e20334312..da5639e72 100644
--- a/src/content_nodemeta.h
+++ b/src/content_nodemeta.h
@@ -36,8 +36,9 @@ public:
virtual void serializeBody(std::ostream &os);
virtual std::string infoText();
- std::string getText(){ return m_text; }
- void setText(std::string t){ m_text = t; }
+ virtual bool allowsTextInput(){ return true; }
+ virtual std::string getText(){ return m_text; }
+ virtual void setText(const std::string &t){ m_text = t; }
private:
std::string m_text;