diff options
author | Sergey Magidovich <mgsergio@mapswithme.com> | 2015-12-08 13:15:52 +0300 |
---|---|---|
committer | Sergey Yershov <yershov@corp.mail.ru> | 2016-03-23 16:03:48 +0300 |
commit | 9d84d508969c2dc371bbaf4772b0920fa6edfab0 (patch) | |
tree | 20c3e73cb14dcd06d0e5a521ab3065198616e77f /editor/opening_hours_ui.hpp | |
parent | 9e72a7e8ebcff5b32ce1d49dfd64e9614b45db5e (diff) |
Add ReplaceExcludeTime method to TimeTable.
Diffstat (limited to 'editor/opening_hours_ui.hpp')
-rw-r--r-- | editor/opening_hours_ui.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/opening_hours_ui.hpp b/editor/opening_hours_ui.hpp index 8672427a37..7447f85f93 100644 --- a/editor/opening_hours_ui.hpp +++ b/editor/opening_hours_ui.hpp @@ -30,12 +30,13 @@ public: bool SetOpeningTime(osmoh::Timespan const & span); bool AddExcludeTime(osmoh::Timespan const & span); + bool ReplaceExcludeTime(osmoh::Timespan const & span, size_t const index); bool RemoveExcludeTime(size_t const index); osmoh::TTimespans const & GetExcludeTime() const { return m_excludeTime; } bool IsValid() const; - osmoh::Timespan GetPredifinedOpeningTime() const; + osmoh::Timespan GetPredefinedOpeningTime() const; osmoh::Timespan GetPredefinedExcludeTime() const; private: |