⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 main.h

📁 linux下实现视频播放的播放器
💻 H
字号:
/* *  Copyright (C) 2005-2008  gulikoza, mtrooper * *  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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *//* $Id$ */#ifndef IPTV_MAIN#define IPTV_MAIN#include "iptv.h"// GUI elements#include "wxgui/wxGUI.h"#include "SDL_syswm.h"class Channel;class Source;class Decoder;class Renderer;struct Audioinfo;struct Videoinfo;struct SDL_Block {    struct {	bool fullscreen;	int x, y;	int w, h;    } screen;    Source * source;    Decoder * decoder;    Renderer * renderer;    Audioinfo * audio;    Videoinfo * video;    // Number of decoder filters in use    char count;#ifdef WIN32    HWND hwnd;    BOOL topmost;    bool winfast;#endif    unsigned int ch_num;    bool recording;    unsigned int time;    bool silent;    int delay;    enum OUTPUT output_mode;    char deint_mode;    Channel * channel;    struct {	int channel;	unsigned int ticks;    } keypress;    unsigned int channelSurfing;    int	channelSurfingDelay;    int hideMouseInFullscreenDelay;    int lastMouseActivityTicks;    bool rememberChannel;    // Put all strings here, so they don't get cleared on init#if (C_HAS_LIBPOSTPROC)    bool ppEnabled;    CStr ppMode;#endif    CStr iface;    CStr channel_list;    CStr iniFile;    CStr filename;    CStr recordingDir;};extern SDL_Block sdl;void init_audio(void);void close_audio(const bool clear = false);void reinit_audio(unsigned int);#include "sdl_bar.h"extern SDL_bar sdl_bar;#include "channel.h"// Function prototypesvoid SetupScreen(int, int, bool);void ProcessEvents(void);void QuitProgram(bool);void SaveConfigurationToIniFile(const char *iniFileName);#endif 	// IPTV_MAIN

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -