Change default sound, vibration name
[platform/core/api/notification.git] / notification-ex / iitem_info_internal.h
1 /*
2  * Copyright (c) 2019 Samsung Electronics Co., Ltd.
3  *
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
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
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.
15  */
16
17 #ifndef NOTIFICATION_EX_IITEM_INFO_INTERNAL_H_
18 #define NOTIFICATION_EX_IITEM_INFO_INTERNAL_H_
19
20 #include <string>
21 #include <list>
22
23 #include "notification-ex/iitem_info.h"
24
25 #ifndef EXPORT_API
26 #define EXPORT_API __attribute__((visibility("default")))
27 #endif
28
29 namespace notification {
30 namespace item {
31
32 class EXPORT_API IItemInfoInternal : public IItemInfo {
33  public:
34   virtual ~IItemInfoInternal() = default;
35   virtual uid_t GetUid() const = 0;
36   virtual void SetUid(uid_t uid) = 0;
37   virtual int64_t GetPrivateId() const = 0;
38   virtual void SetPrivateId(int64_t private_id) = 0;
39   virtual int GetVersion() const = 0;
40   virtual void SetVersion(int ver) = 0;
41   virtual void AddHideViewer(std::string appid) = 0;
42   virtual std::list<std::string> GetHideViewerList() const = 0;
43   virtual void SetTime(time_t time) = 0;
44   virtual bool CanReceive(std::string receiver_group) const = 0;
45 };
46
47 }  // namespace item
48 }  // namespace notification
49 #endif  // NOTIFICATION_EX_IITEM_INFO_INTERNAL_H_