From c62fe609a69058e2e30f757e9a06f72a98464232 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Fri, 17 Sep 2010 15:19:34 +0000 Subject: Bump network protocol version to 19, menudescriptions use the info infrastructure, client-side lazy info update requests. Updated ROADMAP --- src/core/label.cc | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/core/label.cc') 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(); -- cgit v1.2.3