]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/interaction.h
* enhanced the interaction core with some method additions/changes
[vlc] / modules / gui / macosx / interaction.h
index 906bdbafefff7dd35d3ebcca5861d3af0aabb2f2..28978997ccb329b550066e09c785a8741b81f8f5 100644 (file)
@@ -1,10 +1,11 @@
 /*****************************************************************************
  * interaction.h: Mac OS X interaction dialogs
  *****************************************************************************
- * Copyright (C) 2001-2005 the VideoLAN team
- * $Id: vout.h 13803 2005-12-18 18:54:28Z bigben $
+ * Copyright (C) 2005-2006 the VideoLAN team
+ * $Id$
  *
  * Authors: Derk-Jan Hartman <hartman at videolan dot org>
+ *          Felix Kühne <fkuehne at videolan dot org>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
 /*****************************************************************************
  * VLCInteraction interface
  *****************************************************************************/
+
 @interface VLCInteraction : NSObject
 {
-    interaction_dialog_t    *p_dialog;
+    /* progress dialogue */
+    IBOutlet id o_prog_bar;
+    IBOutlet id o_prog_cancel_btn;
+    IBOutlet id o_prog_description;
+    IBOutlet id o_prog_title;
+    IBOutlet id o_prog_win;
+    IBOutlet id o_prog_timeToGo;
+
+    /* authentication dialogue */
+    IBOutlet id o_auth_cancel_btn;
+    IBOutlet id o_auth_description;
+    IBOutlet id o_auth_login_fld;
+    IBOutlet id o_auth_login_txt;
+    IBOutlet id o_auth_ok_btn;
+    IBOutlet id o_auth_pw_fld;
+    IBOutlet id o_auth_pw_txt;
+    IBOutlet id o_auth_title;
+    IBOutlet id o_auth_win;
+
+    /* string input dialogue */
+    IBOutlet id o_input_cancel_btn;
+    IBOutlet id o_input_description;
+    IBOutlet id o_input_fld;
+    IBOutlet id o_input_ok_btn;
+    IBOutlet id o_input_title;
+    IBOutlet id o_input_win;
+
+    interaction_dialog_t * p_dialog;
     intf_thread_t * p_intf;
+    NSProgressIndicator * o_mainIntfPgbar;
+    BOOL nib_interact_loaded;
 }
 
+- (IBAction)cancelAndClose:(id)sender;
+- (IBAction)okayAndClose:(id)sender;
+- (IBAction)cancelDialog:(id)sender;
+
 -(id)initDialog: (interaction_dialog_t *)_p_dialog;
 -(void)runDialog;
 -(void)updateDialog;