2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
5 // Licensed under the Flora License, Version 1.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
9 // http://floralicense.org/license/
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an AS IS BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
19 * @file FUiScenesISceneTransitionPolicyProvider.h
20 * @brief This is the header file for the %ISceneTransitionPolicyProvider interface.
22 * This header file contains the declarations of the %ISceneTransitionPolicyProvider interface.
25 #ifndef _FUI_SCENES_ISCENE_TRANSITION_POLICY_PROVIDER_H_
26 #define _FUI_SCENES_ISCENE_TRANSITION_POLICY_PROVIDER_H_
28 #include <FUiScenesTypes.h>
31 namespace Tizen { namespace Base { namespace Collection
37 namespace Tizen { namespace Ui { namespace Scenes
41 * @interface ISceneTransitionPolicyProvider
42 * @brief This interface provides the scene transition policies.
46 * The %ISceneTransitionPolicyProvider interface is used to provide the scenario logic for scene transitions.
48 * For more information on the class features, see <a href="../org.tizen.native.appprogramming/html/guide/ui/scene_management.htm">Scene Management</a>.
50 class _OSP_EXPORT_ ISceneTransitionPolicyProvider
54 * This polymorphic destructor should be overridden if required. This way,
55 * the destructors of the derived classes are called when the destructor of this interface is called.
59 virtual ~ISceneTransitionPolicyProvider(void) {}
62 * Gets the next scene. @n
63 * Called on SceneManager#GoForward(const Tizen::Base::Collection::IList*,SceneTransitionAnimationType,SceneHistoryOption,SceneDestroyOption)
64 * to determine the next scene.
69 * @param[in] currentSceneId The scene ID of the active Scene
70 * @param[in] pArgs A pointer to an argument list
72 virtual Tizen::Ui::Scenes::SceneId GetNextScene(const Tizen::Ui::Scenes::SceneId& currentSceneId,
73 const Tizen::Base::Collection::IList* pArgs) = 0;
78 // This method is for internal use only. Using this method can cause behavioral,
79 // security-related, and consistency-related issues in the application.
83 virtual void ISceneTransitionPolicyProvider_Reserved1(void) {}
86 // This method is for internal use only. Using this method can cause behavioral,
87 // security-related, and consistency-related issues in the application.
91 virtual void ISceneTransitionPolicyProvider_Reserved2(void) {}
94 // This method is for internal use only. Using this method can cause behavioral,
95 // security-related, and consistency-related issues in the application.
99 virtual void ISceneTransitionPolicyProvider_Reserved3(void) {}
101 }; // ISceneTransitionPolicyProvider
102 } } } // Tizen::Ui::Scenes
104 #endif //_FUI_SCENES_ISCENE_TRANSITION_POLICY_PROVIDER_H_