diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-01-30 13:00:22 -0600 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2014-01-30 13:00:22 -0600 |
commit | cc2ad2ad457313cb87e4483bf0278f670a5a5cea (patch) | |
tree | ed969267604bf802dc2b22e8c04835cd1ae83708 /src/menu.cpp | |
parent | d2caa37e18191c31d866dd3042b676c135bae50d (diff) | |
download | ayatana-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.cpp | 6 |
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; |