diff options
author | Stijn Buys <ingar@osirion.org> | 2010-09-17 15:19:34 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-09-17 15:19:34 +0000 |
commit | c62fe609a69058e2e30f757e9a06f72a98464232 (patch) | |
tree | 53f6a671bd84924ddf7d278cf10a3e527670088e /src/core/label.cc | |
parent | 0c509866a37ab47ff0e48d357ca55e31658c37c2 (diff) |
Bump network protocol version to 19, menudescriptions use the info infrastructure, client-side lazy info update requests.
Updated ROADMAP
Diffstat (limited to 'src/core/label.cc')
-rw-r--r-- | src/core/label.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/core/label.cc b/src/core/label.cc index d3a7b99..d7dabc2 100644 --- a/src/core/label.cc +++ b/src/core/label.cc @@ -12,6 +12,17 @@ Label::Label() { } +Label::Label(const char *label) +{ + if (label) + labelstr.assign(label); +} + +Label::Label(const std::string & label) +{ + labelstr.assign(label); +} + Label::~Label() { labelstr.clear(); |