2 * Copyright (c) 2013 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 * @file view_logic_web_notification_data.h
19 * @author Jihoon Chung (jihoon.chung@samsung.com)
23 #ifndef VIEW_LOGIC_WEB_NOTIFICATION_DATA_H_
24 #define VIEW_LOGIC_WEB_NOTIFICATION_DATA_H_
30 namespace ViewModule {
31 class WebNotificationData
34 WebNotificationData(Ewk_Notification* ewkNotification);
35 virtual ~WebNotificationData();
38 void setNotiId(const int notiId);
39 uint64_t getEwkNotiId(void);
40 const char* getIconUrl(void);
41 const char* getTitle(void);
42 const char* getBody(void);
43 Ewk_Notification* getData(void);
47 Ewk_Notification* m_data;
49 typedef std::shared_ptr<WebNotificationData> WebNotificationDataPtr;
50 } // namespace ViewModule
51 #endif // VIEW_LOGIC_WEB_NOTIFICATION_DATA_H_