-#ifndef __DALI_TOOLKIT_CUBE_TRANSITION_CROSS_EFFECT_H__
-#define __DALI_TOOLKIT_CUBE_TRANSITION_CROSS_EFFECT_H__
+#ifndef DALI_TOOLKIT_CUBE_TRANSITION_CROSS_EFFECT_H
+#define DALI_TOOLKIT_CUBE_TRANSITION_CROSS_EFFECT_H
/*
- * Copyright (c) 2015 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.
namespace Dali
{
-
namespace Toolkit
{
-
namespace Internal DALI_INTERNAL
{
- /**
+/**
* CubeTransitionCrossEffect implementation class
*/
- class CubeTransitionCrossEffect;
+class CubeTransitionCrossEffect;
-} // namespace Internal
+} // namespace DALI_INTERNAL
/**
* SubClass of CubeTransitionEffect
- * Rotate the neighboring cubes in perpendicular directions to transite from one image to another
+ * Rotate the neighboring cubes in perpendicular directions to transition from one image to another
*/
-class DALI_IMPORT_API CubeTransitionCrossEffect : public CubeTransitionEffect
+class DALI_TOOLKIT_API CubeTransitionCrossEffect : public CubeTransitionEffect
{
-
public:
-
/**
* Create an initialized CubeTransitionCrossEffect
* @param[in] numRows How many rows of cubes
* @param[in] numColumns How many columns of cubes
- * @param[in] viewAreaSize The size of view area for this transition effect
* @return The initialized CubeTransitionCrossEffect object
*/
- static CubeTransitionCrossEffect New( unsigned int numRows, unsigned int numColumns, Size viewAreaSize );
-
+ static CubeTransitionCrossEffect New(unsigned int numRows, unsigned int numColumns);
public: // Not intended for developer use
+ /**
+ * Creates a handle using the Toolkit::Internal implementation.
+ * @param[in] implementation The Control implementation.
+ */
+ DALI_INTERNAL CubeTransitionCrossEffect(Internal::CubeTransitionCrossEffect& implementation);
/**
- * This constructor is used by Dali New() methods.
- * @param [in] impl A pointer to a newly allocated Dali resource
+ * Allows the creation of this Control from an Internal::CustomActor pointer.
+ * @param[in] internal A pointer to the internal CustomActor.
*/
- explicit DALI_INTERNAL CubeTransitionCrossEffect( Internal::CubeTransitionCrossEffect* impl );
+ DALI_INTERNAL CubeTransitionCrossEffect(Dali::Internal::CustomActor* internal);
}; // class CubeTransitionCrossEffect
} // namespace Dali
-#endif /* __DALI_TOOLKIT_CUBE_TRANSITION_CROSS_EFFECT_H__ */
+#endif // DALI_TOOLKIT_CUBE_TRANSITION_CROSS_EFFECT_H