Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
open.hpp
Package: vlc-1.0.5.zip [view]
Upload User: kjfoods
Upload Date: 2020-07-06
Package Size: 29949k
Code Size: 3k
Category:
midi program
Development Platform:
Unix_Linux
- /*****************************************************************************
- * open.hpp : advanced open dialog
- ****************************************************************************
- * Copyright (C) 2006-2007 the VideoLAN team
- * $Id: 7ba13fc6fd93360b2486657d300824c6f3118a2c $
- *
- * Authors: Jean-Baptiste Kempf <jb@videolan.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.
- ******************************************************************************/
- #ifndef QVLC_OPEN_DIALOG_H_
- #define QVLC_OPEN_DIALOG_H_ 1
- #ifdef HAVE_CONFIG_H
- # include "config.h"
- #endif
- #include <vlc_common.h>
- #include "util/qvlcframe.hpp"
- #include "ui/open.h"
- #include "components/open_panels.hpp"
- enum {
- OPEN_FILE_TAB,
- OPEN_DISC_TAB,
- OPEN_NETWORK_TAB,
- OPEN_CAPTURE_TAB,
- OPEN_TAB_MAX
- };
- enum {
- OPEN_AND_PLAY,
- OPEN_AND_ENQUEUE,
- OPEN_AND_STREAM,
- OPEN_AND_SAVE,
- SELECT /* Special mode to select a MRL (for VLM or similar */
- };
- class QString;
- class QTabWidget;
- class OpenDialog : public QVLCDialog
- {
- Q_OBJECT;
- public:
- static OpenDialog * getInstance( QWidget *parent, intf_thread_t *p_intf,
- bool b_rawInstance = false, int _action_flag = 0,
- bool b_selectMode = false, bool b_pl = true );
- static void killInstance()
- {
- delete instance;
- instance = NULL;
- }
- void showTab( int = OPEN_FILE_TAB );
- QString getMRL( bool b = true );
- public slots:
- void selectSlots();
- void play();
- void stream( bool b_transode_only = false );
- void enqueue();
- void transcode();
- private:
- OpenDialog( QWidget *parent, intf_thread_t *, bool b_selectMode,
- int _action_flag = 0, bool b_pl = true );
- virtual ~OpenDialog();
- static OpenDialog *instance;
- input_thread_t *p_input;
- QString optionsMRL;
- QString storedMethod;
- QStringList itemsMRL;
- Ui::Open ui;
- FileOpenPanel *fileOpenPanel;
- NetOpenPanel *netOpenPanel;
- DiscOpenPanel *discOpenPanel;
- CaptureOpenPanel *captureOpenPanel;
- int i_action_flag;
- bool b_pl;
- QStringList SeparateEntries( const QString& );
- QPushButton *cancelButton, *selectButton;
- QPushButton *playButton;
- void finish( bool );
- private slots:
- void setMenuAction();
- void cancel();
- void close();
- void toggleAdvancedPanel();
- void updateMRL( const QStringList&, const QString& );
- void updateMRL();
- void newCachingMethod( const QString& );
- void signalCurrent( int );
- void browseInputSlave();
- };
- #endif