/*****************************************************************************
* intf.h: MacOS X interface module
*****************************************************************************
- * Copyright (C) 2002-2005 the VideoLAN team
+ * Copyright (C) 2002-2006 the VideoLAN team
* $Id$
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#include <vlc/vlc.h>
vlc_bool_t b_current_title_update;
vlc_bool_t b_fullscreen_update;
vlc_bool_t b_volume_update;
+ vlc_bool_t b_intf_show;
/* menus handlers */
vlc_bool_t b_input_update;
/* The messages window */
msg_subscription_t * p_sub;
+
};
/*****************************************************************************
* VLCMain interface
*****************************************************************************/
+@class AppleRemote;
@interface VLCMain : NSObject
{
intf_thread_t *p_intf; /* The main intf object */
id o_wizard; /* VLCWizard */
id o_extended; /* VLCExtended */
id o_bookmarks; /* VLCBookmarks */
+ id o_embedded_list; /* VLCEmbeddedList*/
+ id o_interaction_list; /* VLCInteractionList*/
+ id o_sfilters; /* VLCsFilters */
id o_update; /* VLCUpdate */
BOOL nib_main_loaded; /* reference to the main-nib */
BOOL nib_open_loaded; /* reference to the open-nib */
BOOL nib_about_loaded; /* reference to the about-nib */
BOOL nib_wizard_loaded; /* reference to the wizard-nib */
BOOL nib_extended_loaded; /* reference to the extended-nib */
- BOOL nib_bookmarks_loaded; /* reference to the bookmarks-nib */
+ BOOL nib_bookmarks_loaded; /* reference to the bookmarks-nib */
+ BOOL nib_sfilters_loaded; /* reference to the sfilters-nib */
BOOL nib_update_loaded; /* reference to the update-nib */
IBOutlet id o_window; /* main window */
IBOutlet id o_scrollfield; /* info field */
IBOutlet id o_timefield; /* time field */
IBOutlet id o_timeslider; /* time slider */
+ IBOutlet id o_embedded_window; /* Embedded Vout Window */
float f_slider; /* slider value */
float f_slider_old; /* old slider val */
IBOutlet id o_volumeslider; /* volume slider */
+ IBOutlet id o_main_pgbar; /* main interface progress bar */
IBOutlet id o_btn_prev; /* btn previous */
IBOutlet id o_btn_rewind; /* btn rewind */
IBOutlet id o_btn_play; /* btn play */
IBOutlet id o_mu_videotrack;
IBOutlet id o_mi_screen;
IBOutlet id o_mu_screen;
+ IBOutlet id o_mi_aspect_ratio;
+ IBOutlet id o_mu_aspect_ratio;
+ IBOutlet id o_mi_crop;
+ IBOutlet id o_mu_crop;
IBOutlet id o_mi_subtitle;
IBOutlet id o_mu_subtitle;
IBOutlet id o_mi_deinterlace;
NSSize o_size_with_playlist;
int i_lastShownVolume;
+
+ AppleRemote * o_remote;
}
+ (VLCMain *)sharedInstance;
- (id)getInfo;
- (id)getWizard;
- (id)getBookmarks;
+- (id)getEmbeddedList;
+- (id)getInteractionList;
+- (id)getMainIntfPgbar;
+- (id)getMainScrollField;
+- (id)getControllerWindow;
- (void)terminate;
- (NSString *)localizedString:(char *)psz;
- (char *)delocalizeString:(NSString *)psz;
- (IBAction)showWizard:(id)sender;
- (IBAction)showExtended:(id)sender;
- (IBAction)showBookmarks:(id)sender;
+- (IBAction)showSFilters:(id)sender;
- (IBAction)viewAbout:(id)sender;
- (IBAction)viewPreferences:(id)sender;