Merge branch 'tizen' into tizen_5.5
[platform/core/api/notification.git] / notification-ex / ievent_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_IEVENT_INFO_INTERNAL_H_
18 #define NOTIFICATION_EX_IEVENT_INFO_INTERNAL_H_
19
20 #include "notification-ex/common.h"
21 #include "notification-ex/ievent_info.h"
22
23 namespace notification {
24
25 class IEventInfoInternal : public IEventInfo {
26  public:
27   virtual ~IEventInfoInternal() = default;
28   virtual uid_t GetUid() const = 0;
29   virtual void SetUid(uid_t uid) = 0;
30   virtual uid_t GetValidatedUid() const = 0;
31   virtual void SetValidatedUid(uid_t uid) = 0;
32   virtual void SetValidatedOwner(std::string owner) = 0;
33   virtual std::string GetValidatedOwner() const = 0;
34   virtual NotificationError GetError() const = 0;
35   virtual void SetError(NotificationError error) = 0;
36   virtual void SetEventType(int type) = 0;
37 };
38
39 }  // namespace notification
40 #endif  // NOTIFICATION_EX_IEVENT_INFO_INTERNAL_H_