#ifndef __DALI_TOOLKIT_PAGE_TURN_PORTRAIT_VIEW_H__
#define __DALI_TOOLKIT_PAGE_TURN_PORTRAIT_VIEW_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.
-//
+/*
+ * Copyright (c) 2014 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.
+ *
+ */
//INTERNAL INCLUDES
#include <dali-toolkit/public-api/controls/page-turn-view/page-turn-view.h>
-namespace Dali DALI_IMPORT_API
+namespace Dali
{
namespace Toolkit
/**
* PageTurnLandscapeView provides a page turn view in portrait mode
*/
-class PageTurnPortraitView : public PageTurnView
+class DALI_IMPORT_API PageTurnPortraitView : public PageTurnView
{
public:
/**
PageTurnPortraitView& operator=( const PageTurnPortraitView& pageTurnPortraitView );
/**
- * Virtual destructor.
- * Dali::Object derived classes typically do not contain member data.
+ * @brief Destructor
+ *
+ * This is non-virtual since derived Handle types must not contain data or virtual methods.
*/
- virtual ~PageTurnPortraitView();
+ ~PageTurnPortraitView();
/**
* Create an initialized PageTurnPortraitView control
* Creates a handle using the Toolkit::Internal implementation.
* @param[in] implementation The Control implementation.
*/
- PageTurnPortraitView( Internal::PageTurnPortraitView& implementation );
+ DALI_INTERNAL PageTurnPortraitView( Internal::PageTurnPortraitView& implementation );
/**
* Allows the creation of this Control from an Internal::CustomActor pointer.
* @param[in] internal A pointer to the internal CustomActor.
*/
- PageTurnPortraitView( Dali::Internal::CustomActor* internal );
+ explicit DALI_INTERNAL PageTurnPortraitView( Dali::Internal::CustomActor* internal );
};
} // namespace Toolkit