2 * Copyright (c) 2019 Samsung Electronics Co., Ltd.
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.
17 #ifndef NOTIFICATION_EX_IITEM_INFO_INTERNAL_H_
18 #define NOTIFICATION_EX_IITEM_INFO_INTERNAL_H_
23 #include "notification-ex/iitem_info.h"
26 #define EXPORT_API __attribute__((visibility("default")))
29 namespace notification {
33 class EXPORT_API IItemInfoInternal : public IItemInfo {
35 virtual ~IItemInfoInternal() = default;
36 virtual uid_t GetUid() const = 0;
37 virtual void SetUid(uid_t uid) = 0;
38 virtual int64_t GetPrivateId() const = 0;
39 virtual void SetPrivateId(int64_t private_id) = 0;
40 virtual int GetVersion() const = 0;
41 virtual void SetVersion(int ver) = 0;
42 virtual void AddHideViewer(std::string appid) = 0;
43 virtual std::list<std::string> GetHideViewerList() const = 0;
44 virtual void SetTime(time_t time) = 0;
45 virtual bool CanReceive(std::string receiver_group) const = 0;
50 } // namespace notification
51 #endif // NOTIFICATION_EX_IITEM_INFO_INTERNAL_H_