[Tizen] Use OpenGL es 2.0 if eglCreateContext is fail, Prevent glFinish without makeC...
[platform/core/uifw/dali-adaptor.git] / plugins / dali-feedback.h
index c9967ec..93c63d2 100644 (file)
@@ -1,8 +1,8 @@
-#ifndef __FEEDBACK_PLUGIN_H__
-#define __FEEDBACK_PLUGIN_H__
+#ifndef FEEDBACK_PLUGIN_H
+#define FEEDBACK_PLUGIN_H
 
 /*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2019 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
-#if defined(DALI_PROFILE_MOBILE)
-#include <dd-haptic.h>
-#else
-#include <haptic.h>
-#endif
-
 // INTERNAL INCLUDES
-#include <feedback-plugin.h>
+#include <dali/devel-api/adaptor-framework/feedback-plugin.h>
 
 namespace Dali
 {
@@ -83,16 +76,10 @@ public: // FeedbackPlugin overrides
    * @copydoc Dali::FeedbackPlugin::PlayFeedbackPattern()
    */
   void PlayFeedbackPattern( int type, int pattern );
-
-private:
-
-  haptic_device_h mDeviceHandle;
-
-  bool mHapticInitialized;
 };
 
 }  // namespace Plugin
 
 }  // namespace Dali
 
-#endif // __FEEDBACK_PLUGIN_H__
+#endif // FEEDBACK_PLUGIN_H