Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

controls.h

00001 /*****************************************************************************
00002  * controls.h: MacOS X interface module
00003  *****************************************************************************
00004  * Copyright (C) 2002-2005 the VideoLAN team
00005  * $Id: controls.h 11664 2005-07-09 06:17:09Z courmisch $
00006  *
00007  * Authors: Jon Lech Johansen <[email protected]>
00008  *          Christophe Massiot <[email protected]>
00009  *          Derk-Jan Hartman <[email protected]>
00010  *
00011  * This program is free software; you can redistribute it and/or modify
00012  * it under the terms of the GNU General Public License as published by
00013  * the Free Software Foundation; either version 2 of the License, or
00014  * (at your option) any later version.
00015  * 
00016  * This program is distributed in the hope that it will be useful,
00017  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019  * GNU General Public License for more details.
00020  *
00021  * You should have received a copy of the GNU General Public License
00022  * along with this program; if not, write to the Free Software
00023  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
00024  *****************************************************************************/
00025 
00026 /*****************************************************************************
00027  * VLCControls interface 
00028  *****************************************************************************/
00029 @interface VLCControls : NSObject
00030 {
00031     IBOutlet id o_main;
00032 
00033     IBOutlet id o_btn_fullscreen;
00034     IBOutlet id o_volumeslider;
00035 }
00036 
00037 - (IBAction)play:(id)sender;
00038 - (IBAction)stop:(id)sender;
00039 - (IBAction)faster:(id)sender;
00040 - (IBAction)slower:(id)sender;
00041 
00042 - (IBAction)prev:(id)sender;
00043 - (IBAction)next:(id)sender;
00044 - (IBAction)random:(id)sender;
00045 - (IBAction)repeat:(id)sender;
00046 - (IBAction)loop:(id)sender;
00047 
00048 - (IBAction)forward:(id)sender;
00049 - (IBAction)backward:(id)sender;
00050 
00051 - (IBAction)volumeUp:(id)sender;
00052 - (IBAction)volumeDown:(id)sender;
00053 - (IBAction)mute:(id)sender;
00054 - (IBAction)volumeSliderUpdated:(id)sender;
00055 
00056 - (IBAction)windowAction:(id)sender;
00057 
00058 - (void)setupVarMenuItem:(NSMenuItem *)o_mi
00059                     target:(vlc_object_t *)p_object
00060                     var:(const char *)psz_variable
00061                     selector:(SEL)pf_callback;
00062 - (void)setupVarMenu:(NSMenu *)o_menu
00063                     forMenuItem: (NSMenuItem *)o_parent
00064                     target:(vlc_object_t *)p_object
00065                     var:(const char *)psz_variable
00066                     selector:(SEL)pf_callback;
00067 - (IBAction)toggleVar:(id)sender;
00068 - (int)toggleVarThread:(id)_o_data;
00069 
00070 @end
00071 
00072 /*****************************************************************************
00073  * VLCMenuExt interface 
00074  *****************************************************************************
00075  * This holds our data for autogenerated menus
00076  *****************************************************************************/
00077 @interface VLCMenuExt : NSObject
00078 {
00079     char *psz_name;
00080     int i_object_id;
00081     vlc_value_t value;
00082     int i_type;
00083 }
00084 
00085 - (id)initWithVar: (const char *)_psz_name Object: (int)i_id
00086         Value: (vlc_value_t)val ofType: (int)_i_type;
00087 - (char *)name;
00088 - (int)objectID;
00089 - (vlc_value_t)value;
00090 - (int)type;
00091 
00092 @end

Generated on Tue Dec 20 10:14:38 2005 for vlc-0.8.4a by  doxygen 1.4.2