7df51099c3cb8d54c541899abd88f03007018439
[platform/framework/web/crosswalk-tizen.git] / src / runtime / notification_manager.h
1 // Copyright 2015 Samsung Electronics Co, Ltd. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef WRT_RUNTIME_NOTIFICATION_MANAGER_H_
6 #define WRT_RUNTIME_NOTIFICATION_MANAGER_H_
7
8 #include <string>
9 #include <map>
10
11 namespace wrt {
12 class NotificationManager {
13  public:
14   static NotificationManager* GetInstance();
15   bool Show(uint64_t tag,
16             const std::string& title,
17             const std::string& body,
18             const std::string& icon_path);
19   bool Hide(uint64_t tag);
20  private:
21   NotificationManager();
22   std::map<uint64_t, int> keymapper_;
23 };
24 }  // namespace wrt
25
26 #endif   // WRT_RUNTIME_NOTIFICATION_MANAGER_H_