aboutsummaryrefslogtreecommitdiff
path: root/src/menu.cpp
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-01-30 13:00:22 -0600
committerCharles Kerr <charles.kerr@canonical.com>2014-01-30 13:00:22 -0600
commitcc2ad2ad457313cb87e4483bf0278f670a5a5cea (patch)
treeed969267604bf802dc2b22e8c04835cd1ae83708 /src/menu.cpp
parentd2caa37e18191c31d866dd3042b676c135bae50d (diff)
downloadayatana-indicator-datetime-cc2ad2ad457313cb87e4483bf0278f670a5a5cea.tar.gz
ayatana-indicator-datetime-cc2ad2ad457313cb87e4483bf0278f670a5a5cea.tar.bz2
ayatana-indicator-datetime-cc2ad2ad457313cb87e4483bf0278f670a5a5cea.zip
as per review, don't inline unless there are performance issues
Diffstat (limited to 'src/menu.cpp')
-rw-r--r--src/menu.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/menu.cpp b/src/menu.cpp
index 4bb4fb6..b263520 100644
--- a/src/menu.cpp
+++ b/src/menu.cpp
@@ -35,6 +35,12 @@ namespace datetime {
*****
****/
+Menu::Menu (Profile profile_in, const std::string& name_in):
+ m_profile(profile_in),
+ m_name(name_in)
+{
+}
+
const std::string& Menu::name() const
{
return m_name;