Adaptor refactor
[platform/core/uifw/dali-adaptor.git] / dali / integration-api / trigger-event-factory.h
1 #ifndef __DALI_INTEGRATION_TRIGGER_EVENT_FACTORY_H__
2 #define __DALI_INTEGRATION_TRIGGER_EVENT_FACTORY_H__
3
4 /*
5  * Copyright (c) 2014 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 #include <dali/public-api/common/dali-common.h>
23 #ifdef DALI_ADAPTOR_COMPILATION
24 #include <dali/integration-api/trigger-event-factory-interface.h>
25 #else
26 #include <dali/integration-api/adaptors/trigger-event-factory-interface.h>
27 #endif
28
29 namespace Dali
30 {
31
32 /**
33  * @brief Trigger interface factory class
34  *
35  */
36 class DALI_IMPORT_API TriggerEventFactory : public TriggerEventFactoryInterface
37 {
38
39 public:
40
41   /**
42    * @brief Constructor
43    */
44   TriggerEventFactory()
45   {
46   }
47
48   /**
49    * @brief Destructor
50    */
51   virtual ~TriggerEventFactory()
52   {
53   }
54
55   /**
56    * @copydoc TriggerEventFactoryInterface::CreateTriggerEvent
57    */
58   virtual TriggerEventInterface* CreateTriggerEvent(  CallbackBase* callback, TriggerEventInterface::Options options );
59
60
61   /**
62    * @copydoc TriggerEventFactoryInterface::DestroyTriggerEvent
63    */
64   virtual void DestroyTriggerEvent( TriggerEventInterface* triggerEventInterface );
65
66 };
67
68 } // namespace Dali
69
70 #endif // __DALI_INTEGRATION_TRIGGER_EVENT_FACTORY_H__