/*****************************************************************************
- * interaction.h: Mac OS X interaction dialogs
+ * coredialogs.h: Mac OS X Core Dialogs
*****************************************************************************
* Copyright (C) 2005-2009 the VideoLAN team
* $Id$
NSMutableArray * o_errors;
NSMutableArray * o_icons;
- BOOL nib_loaded;
+ BOOL b_nib_loaded;
}
- (IBAction)cleanupTable:(id)sender;
- (IBAction)showMessages:(id)sender;
@end
-
/*****************************************************************************
* VLCCoreDialogProvider interface
*****************************************************************************/
IBOutlet id o_auth_win;
/* progress dialogue */
- IBOutlet id o_prog_bar;
+ IBOutlet NSProgressIndicator * o_prog_bar;
IBOutlet id o_prog_cancel_btn;
- IBOutlet id o_prog_description;
- IBOutlet id o_prog_title;
+ IBOutlet id o_prog_description_txt;
+ IBOutlet id o_prog_title_txt;
IBOutlet id o_prog_win;
- IBOutlet id o_prog_timeToGo;
+ BOOL b_progress_cancelled;
}
+ (VLCCoreDialogProvider *)sharedInstance;
--(void)performDialogEvent: (NSNotification *)o_notification;
+-(void)performEventWithObject: (NSValue *)o_value ofType: (const char*)type;
-(void)showFatalDialog: (NSValue *)o_value;
+-(void)showFatalWaitDialog: (NSValue *)o_value;
-(void)showQuestionDialog: (NSValue *)o_value;
+
-(void)showLoginDialog: (NSValue *)o_value;
-(IBAction)loginDialogAction:(id)sender;
--(id)getErrorPanel;
+-(void)showProgressDialog: (NSValue *)o_value;
+-(IBAction)progDialogAction:(id)sender;
+-(BOOL)progressCancelled;
+-(void)updateProgressPanelWithText: (NSString *)string andNumber: (double)d_number;
+-(void)destroyProgressPanel;
-@end
\ No newline at end of file
+-(id)errorPanel;
+
+@end