/*****************************************************************************
* intf.h: MacOS X interface module
*****************************************************************************
- * Copyright (C) 2002-2005 VideoLAN
+ * Copyright (C) 2002-2005 the VideoLAN team
* $Id$
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* the translated string. the translation should be '1:translatedstring' though */
#define _ANS(s) [[[VLCMain sharedInstance] localizedString: _(s)] substringFromIndex:2]
+#define MACOS_VERSION [[[NSDictionary dictionaryWithContentsOfFile: \
+ @"/System/Library/CoreServices/SystemVersion.plist"] \
+ objectForKey: @"ProductVersion"] floatValue]
+
/*****************************************************************************
* intf_sys_t: description and status of the interface
*****************************************************************************/
/* interface update */
vlc_bool_t b_intf_update;
vlc_bool_t b_playlist_update;
+ vlc_bool_t b_playmode_update;
vlc_bool_t b_current_title_update;
vlc_bool_t b_fullscreen_update;
+ vlc_bool_t b_volume_update;
/* menus handlers */
vlc_bool_t b_input_update;
id o_prefs; /* VLCPrefs */
id o_about; /* VLAboutBox */
id o_open; /* VLCOpen */
+ id o_wizard; /* VLCWizard */
BOOL nib_open_loaded; /* reference to the open-nib */
+ BOOL nib_wizard_loaded; /* reference to the wizard-nib */
IBOutlet id o_window; /* main window */
IBOutlet id o_playlist_view;/* playlist view */
IBOutlet id o_mi_open_net;
IBOutlet id o_mi_open_recent;
IBOutlet id o_mi_open_recent_cm;
+ IBOutlet id o_mi_open_wizard;
IBOutlet id o_mu_edit;
IBOutlet id o_mi_cut;
IBOutlet id o_dmi_next;
IBOutlet id o_dmi_previous;
IBOutlet id o_dmi_mute;
-
+
bool b_small_window;
-
+
mtime_t i_end_scroll;
+
+ NSSize o_size_with_playlist;
+
+ int i_lastShownVolume;
}
+ (VLCMain *)sharedInstance;
- (IBAction)intfOpenDisc:(id)sender;
- (IBAction)intfOpenNet:(id)sender;
+- (IBAction)showWizard:(id)sender;
+
- (IBAction)viewAbout:(id)sender;
- (IBAction)viewPreferences:(id)sender;
- (IBAction)closeError:(id)sender;
- (IBAction)reportABug:(id)sender;
- (IBAction)openWebsite:(id)sender;
- (IBAction)openLicense:(id)sender;
+- (IBAction)openForum:(id)sender;
+- (IBAction)openDonate:(id)sender;
- (IBAction)openCrashLog:(id)sender;
- (IBAction)togglePlaylist:(id)sender;