Updated all header files to new format
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / controls / scrollable / scroll-view / scroll-view-effect-impl.h
index 2bb3d32..dd26266 100644 (file)
@@ -1,40 +1,41 @@
-#ifndef __DALI_TOOLKIT_INTERNAL_SCROLL_VIEW_EFFECT_H__
-#define __DALI_TOOLKIT_INTERNAL_SCROLL_VIEW_EFFECT_H__
-
-//
-// Copyright (c) 2014 Samsung Electronics Co., Ltd.
-//
-// Licensed under the Flora License, Version 1.0 (the License);
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-//     http://floralicense.org/license/
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an AS IS BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
+#ifndef DALI_TOOLKIT_INTERNAL_SCROLL_VIEW_EFFECT_H
+#define DALI_TOOLKIT_INTERNAL_SCROLL_VIEW_EFFECT_H
+
+/*
+ * Copyright (c) 2021 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.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+// EXTERNAL INCLUDES
+#include <dali/public-api/object/base-object.h>
+#include <dali/public-api/signals/connection-tracker.h>
 
 // INTERNAL INCLUDES
-#include <dali/dali.h>
-#include <dali-toolkit/public-api/controls/scrollable/scroll-view/scroll-view.h>
 #include <dali-toolkit/public-api/controls/scrollable/scroll-view/scroll-view-effect.h>
+#include <dali-toolkit/public-api/controls/scrollable/scroll-view/scroll-view.h>
 
 namespace Dali
 {
-
 class Animation;
 
 namespace Toolkit
 {
-
 class ScrollView;
 
 namespace Internal
 {
-
 class ScrollViewEffect;
 
 /**
@@ -42,9 +43,7 @@ class ScrollViewEffect;
  */
 class ScrollViewEffect : public Dali::BaseObject, public ConnectionTracker
 {
-
 public:
-
   ScrollViewEffect();
 
   /**
@@ -64,7 +63,6 @@ public:
   void Detach(Toolkit::ScrollView& scrollView);
 
 public:
-
   /**
    * Called upon Attaching of effect to a scrollView instance.
    *
@@ -84,7 +82,6 @@ public:
   virtual void OnDetach(Toolkit::ScrollView& scrollView) = 0;
 
 protected:
-
   /**
    * Returns the ScrollView handle that this effect is
    * attached to.
@@ -95,16 +92,13 @@ protected:
   Toolkit::ScrollView GetScrollView();
 
 protected:
-
   /**
    * A reference counted object may only be deleted by calling Unreference()
    */
   virtual ~ScrollViewEffect();
 
 private:
-
-  Toolkit::Internal::ScrollView *mScrollViewImpl; ///< Attached ScrollView instance (pointer to implementation)
-
+  Toolkit::Internal::ScrollView* mScrollViewImpl; ///< Attached ScrollView instance (pointer to implementation)
 };
 
 } // namespace Internal
@@ -133,4 +127,4 @@ inline const Internal::ScrollViewEffect& GetImpl(const Dali::Toolkit::ScrollView
 
 } // namespace Dali
 
-#endif // __DALI_TOOLKIT_INTERNAL_SCROLL_VIEW_EFFECT_H__
+#endif // DALI_TOOLKIT_INTERNAL_SCROLL_VIEW_EFFECT_H