+void Dialogs::showPlaylistLoadCB( intf_dialog_args_t *pArg )
+{
+ intf_thread_t *pIntf = (intf_thread_t *)pArg->p_arg;
+
+ if( pArg->i_results && pArg->psz_results[0] )
+ {
+ // Create a Playlist Load command
+ CmdPlaylistLoad *pCmd =
+ new CmdPlaylistLoad( pIntf, sFromLocale( pArg->psz_results[0] ) );
+
+ // Push the command in the asynchronous command queue
+ AsyncQueue *pQueue = AsyncQueue::instance( pIntf );
+ pQueue->push( CmdGenericPtr( pCmd ) );
+ }
+}
+
+
+void Dialogs::showPlaylistSaveCB( intf_dialog_args_t *pArg )
+{
+ intf_thread_t *pIntf = (intf_thread_t *)pArg->p_arg;
+
+ if( pArg->i_results && pArg->psz_results[0] )
+ {
+ // Create a Playlist Save command
+ CmdPlaylistSave *pCmd =
+ new CmdPlaylistSave( pIntf, pArg->psz_results[0] );
+
+ // Push the command in the asynchronous command queue
+ AsyncQueue *pQueue = AsyncQueue::instance( pIntf );
+ pQueue->push( CmdGenericPtr( pCmd ) );
+ }
+}
+