Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Magidovich <mgsergio@mapswithme.com>2015-12-08 13:15:52 +0300
committerSergey Yershov <yershov@corp.mail.ru>2016-03-23 16:03:48 +0300
commit9d84d508969c2dc371bbaf4772b0920fa6edfab0 (patch)
tree20c3e73cb14dcd06d0e5a521ab3065198616e77f /editor/opening_hours_ui.hpp
parent9e72a7e8ebcff5b32ce1d49dfd64e9614b45db5e (diff)
Add ReplaceExcludeTime method to TimeTable.
Diffstat (limited to 'editor/opening_hours_ui.hpp')
-rw-r--r--editor/opening_hours_ui.hpp3
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: