/*****************************************************************************
* coredialogs.h: Mac OS X Core Dialogs
*****************************************************************************
- * Copyright (C) 2005-2009 the VideoLAN team
+ * Copyright (C) 2005-2012 VLC authors and VideoLAN
* $Id$
*
* Authors: Derk-Jan Hartman <hartman at videolan dot org>
IBOutlet id o_window;
IBOutlet id o_cleanup_button;
IBOutlet id o_error_table;
- IBOutlet id o_messages_btn;
-
+
NSMutableArray * o_errors;
NSMutableArray * o_icons;
-
- BOOL nib_loaded;
+
+ BOOL b_nib_loaded;
}
- (IBAction)cleanupTable:(id)sender;
-- (IBAction)showMessages:(id)sender;
-(void)showPanel;
-(void)addError: (NSString *)o_error withMsg:(NSString *)o_msg;
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_txt;
IBOutlet id o_prog_title_txt;
IBOutlet id o_prog_win;
+ BOOL b_progress_cancelled;
}
+ (VLCCoreDialogProvider *)sharedInstance;
--(void)performDialogEvent: (NSNotification *)o_notification;
--(void)performProgressBarEvent: (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;
+
+-(void)showProgressDialogOnMainThread: (NSValue *)o_value;
-(void)showProgressDialog: (NSValue *)o_value;
-(IBAction)progDialogAction:(id)sender;
+-(BOOL)progressCancelled;
+-(void)updateProgressPanelWithText: (NSString *)string andNumber: (double)d_number;
+-(void)destroyProgressPanel;
--(id)getErrorPanel;
+-(id)errorPanel;
-@end
\ No newline at end of file
+@end