Revert "[Tizen] Add OffscreenApplication"
[platform/core/uifw/dali-adaptor.git] / dali / integration-api / adaptor-framework / trigger-event-factory.h
index 5e889a9..dc686d0 100644 (file)
@@ -2,7 +2,7 @@
 #define DALI_INTEGRATION_TRIGGER_EVENT_FACTORY_H
 
 /*
- * Copyright (c) 2019 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  *
  */
 
+// EXTERNAL INCLUDES
+#include <dali/public-api/signals/callback.h>
+
 // INTERNAL INCLUDES
+#include <dali/integration-api/adaptor-framework/trigger-event-interface.h>
 #include <dali/public-api/dali-adaptor-common.h>
-#include <dali/integration-api/adaptor-framework/trigger-event-factory-interface.h>
 
 namespace Dali
 {
-
 /**
  * @brief Trigger interface factory class
  *
  */
-class DALI_ADAPTOR_API TriggerEventFactory : public TriggerEventFactoryInterface
+class DALI_ADAPTOR_API TriggerEventFactory
 {
-
 public:
-
-  /**
-   * @brief Constructor
-   */
-  TriggerEventFactory()
-  {
-  }
-
-  /**
-   * @brief Destructor
-   */
-  virtual ~TriggerEventFactory()
-  {
-  }
-
   /**
    * @copydoc TriggerEventFactoryInterface::CreateTriggerEvent
    */
-  virtual TriggerEventInterface* CreateTriggerEvent(  CallbackBase* callback, TriggerEventInterface::Options options );
-
+  static TriggerEventInterface* CreateTriggerEvent(CallbackBase* callback, TriggerEventInterface::Options options);
 
   /**
    * @copydoc TriggerEventFactoryInterface::DestroyTriggerEvent
    */
-  virtual void DestroyTriggerEvent( TriggerEventInterface* triggerEventInterface );
-
+  static void DestroyTriggerEvent(TriggerEventInterface* triggerEventInterface);
 };
 
 } // namespace Dali