bool Adaptor::AddIdle( CallbackBase* callback, bool hasReturnValue )
{
+ DALI_ASSERT_ALWAYS( IsAvailable() && "Adaptor not instantiated" );
return mImpl->AddIdle( callback, hasReturnValue, false );
}
bool Adaptor::AddWindow( Dali::Integration::SceneHolder childWindow, const std::string& childWindowName, const std::string& childWindowClassName, bool childWindowMode )
{
+ DALI_ASSERT_ALWAYS( IsAvailable() && "Adaptor not instantiated" );
return mImpl->AddWindow( childWindow, childWindowName, childWindowClassName, childWindowMode );
}
void Adaptor::RemoveIdle( CallbackBase* callback )
{
+ DALI_ASSERT_ALWAYS( IsAvailable() && "Adaptor not instantiated" );
mImpl->RemoveIdle( callback );
}
void Adaptor::ProcessIdle()
{
+ DALI_ASSERT_ALWAYS( IsAvailable() && "Adaptor not instantiated" );
mImpl->ProcessIdle();
}
void Timer::Start()
{
// Timer should be used in the event thread
- DALI_ASSERT_DEBUG( Adaptor::IsAvailable() );
+ DALI_ASSERT_ALWAYS( Adaptor::IsAvailable() );
if(mImpl->mId != NULL)
{
void Timer::Stop()
{
// Timer should be used in the event thread
- DALI_ASSERT_DEBUG( Adaptor::IsAvailable() );
+ DALI_ASSERT_ALWAYS( Adaptor::IsAvailable() );
ResetTimerData();
}
void Timer::Pause()
{
// Timer should be used in the event thread
- DALI_ASSERT_DEBUG( Adaptor::IsAvailable() );
+ DALI_ASSERT_ALWAYS( Adaptor::IsAvailable() );
if( mImpl->mId != NULL )
{
void Timer::Resume()
{
// Timer should be used in the event thread
- DALI_ASSERT_DEBUG( Adaptor::IsAvailable() );
+ DALI_ASSERT_ALWAYS( Adaptor::IsAvailable() );
if( mImpl->mId != NULL )
{