#include <dali-toolkit/public-api/controls/navigation-frame/page.h>
#include <dali-toolkit/public-api/controls/navigation-frame/navigation-bar-style.h>
-namespace Dali DALI_IMPORT_API
+namespace Dali
{
namespace Toolkit
* +----------------------------------------+
*/
-class NavigationControl : public Control
+class DALI_IMPORT_API NavigationControl : public Control
{
public:
NavigationControl& operator=( const NavigationControl& handle );
/**
- * virtual Destructor.
+ * @brief Destructor
+ *
+ * This is non-virtual since derived Handle types must not contain data or virtual methods.
*/
- virtual ~NavigationControl();
+ ~NavigationControl();
/**
* Create an initialized NavigationControl.
public: //Signal
- typedef SignalV2< void( NavigationControl, Page ) > ItemPushedSignalV2;
- typedef SignalV2< void( NavigationControl, Page ) > ItemPoppedSignalV2;
+ typedef Signal< void( NavigationControl, Page ) > ItemPushedSignalType;
+ typedef Signal< void( NavigationControl, Page ) > ItemPoppedSignalType;
/**
* Signal emitted right after a new item is pushed into the navigation stack.
* @endcode
* @return The signal to connect to.
*/
- ItemPushedSignalV2& ItemPushedSignal();
+ ItemPushedSignalType& ItemPushedSignal();
/**
* Signal emitted right after an item is popped out from the navigation stack.
* The app can use this signal and check the poppedItem to be uninitialized to know the app window should be lower
* @return The signal to connect to.
*/
- ItemPoppedSignalV2& ItemPoppedSignal();
+ ItemPoppedSignalType& ItemPoppedSignal();
* Creates a handle using the Toolkit::Internal implementation.
* @param[in] implementation The Control implementation.
*/
- NavigationControl( Internal::NavigationControl& implementation );
+ DALI_INTERNAL NavigationControl( Internal::NavigationControl& implementation );
/**
* Allows the creation of this Control from an Internal::CustomActor pointer.
* @param[in] internal A pointer to the internal CustomActor.
*/
- NavigationControl( Dali::Internal::CustomActor* internal );
+ explicit DALI_INTERNAL NavigationControl( Dali::Internal::CustomActor* internal );
}; // class NavigationControl