📄 interaction.h
字号:
/***************************************************************************** * interaction.h: Mac OS X interaction dialogs ***************************************************************************** * Copyright (C) 2005-2006 the VideoLAN team * $Id: interaction.h 14496 2006-02-25 13:45:07Z fkuehne $ * * 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 * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * 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., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/#include <vlc/vlc.h>#include <vlc_interaction.h>#include <Cocoa/Cocoa.h>/***************************************************************************** * VLCInteraction interface *****************************************************************************/@interface VLCInteraction : NSObject{ /* progress widget */ 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; interaction_dialog_t * p_dialog; intf_thread_t * p_intf; BOOL nib_interact_loaded;}- (IBAction)cancelAndClose:(id)sender;-(id)initDialog: (interaction_dialog_t *)_p_dialog;-(void)runDialog;-(void)updateDialog;-(void)hideDialog;-(void)destroyDialog;@end/***************************************************************************** * VLCInteractionList interface *****************************************************************************/@interface VLCInteractionList : NSObject{ NSMutableArray *o_interaction_list;}-(void)newInteractionEvent: (NSNotification *)o_notification;-(void)addInteraction: (interaction_dialog_t *)p_dialog;-(void)removeInteraction: (VLCInteraction *)p_interaction;@end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -