Merge branch 'devel/master' into tizen
[platform/core/uifw/dali-core.git] / dali / internal / event / common / complete-notification-interface.h
1 #ifndef DALI_INTERNAL_COMPLETE_NOTIFICATION_INTERFACE_H
2 #define DALI_INTERNAL_COMPLETE_NOTIFICATION_INTERFACE_H
3
4 /*
5  * Copyright (c) 2021 Samsung Electronics Co., Ltd.
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  *
19  */
20
21 // INTERNAL INCLUDES
22
23 namespace Dali
24 {
25 namespace Internal
26 {
27 /**
28  * Provides notifications to the event-thread regarding the changes in previous update(s).
29  * For example after an animation finished
30  */
31 class CompleteNotificationInterface
32 {
33 protected:
34   /**
35    * Constructor, not to be directly instantiated.
36    */
37   CompleteNotificationInterface() = default;
38
39   /**
40    * Virtual destructor as this is an interface, no deletion through this interface though.
41    */
42   virtual ~CompleteNotificationInterface() = default;
43
44 public:
45   /**
46    * This method is called by Notification Manager
47    */
48   virtual void NotifyCompleted() = 0;
49 };
50
51 } // namespace Internal
52
53 } // namespace Dali
54
55 #endif // DALI_INTERNAL_COMPLETE_NOTIFICATION_INTERFACE_H