/// This method does the real job of the command
virtual void execute()
{
- if( m_pDialog->i_type == INTERACT_PROGRESS )
- {
- /// \todo Handle progress in the interface
- }
- else
+ /// Get the dialogs provider
+ Dialogs *pDialogs = Dialogs::instance( getIntf() );
+ if( pDialogs == NULL )
{
- /// Get the dialogs provider
- Dialogs *pDialogs = Dialogs::instance( getIntf() );
- if( pDialogs == NULL )
- {
- return;
- }
- pDialogs->showInteraction( m_pDialog );
+ return;
}
+ pDialogs->showInteraction( m_pDialog );
}
virtual string getType() const { return "interaction"; }