-#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;
/**
*/
class ScrollViewEffect : public Dali::BaseObject, public ConnectionTracker
{
-
public:
-
ScrollViewEffect();
/**
void Detach(Toolkit::ScrollView& scrollView);
public:
-
/**
* Called upon Attaching of effect to a scrollView instance.
*
virtual void OnDetach(Toolkit::ScrollView& scrollView) = 0;
protected:
-
/**
* Returns the ScrollView handle that this effect is
* attached to.
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
} // namespace Dali
-#endif // __DALI_TOOLKIT_INTERNAL_SCROLL_VIEW_EFFECT_H__
+#endif // DALI_TOOLKIT_INTERNAL_SCROLL_VIEW_EFFECT_H