Main instance. More...
#include <VLCQtCore/Instance.h>
Public Member Functions | |
| VlcInstance (const QStringList &args, QObject *parent=NULL) | |
| VlcInstance constructor. More... | |
| ~VlcInstance () | |
| libvlc_instance_t * | core () |
| Returns libvlc instance object. More... | |
| bool | status () const |
| Returns libvlc initialisation status. More... | |
| Vlc::LogLevel | logLevel () const |
| Returns current log level (default Vlc::ErrorLevel) More... | |
| void | setLogLevel (Vlc::LogLevel level) |
| Set current log level. More... | |
| void | setUserAgent (const QString &application, const QString &version) |
| Sets the application name. More... | |
| void | setAppId (const QString &id, const QString &version, const QString &icon) |
| Sets the application some meta-information. More... | |
| QList< VlcModuleDescription * > | audioFilterList () const |
| List audio filter modules. More... | |
| QList< VlcModuleDescription * > | videoFilterList () const |
| List video filter modules. More... | |
Static Public Member Functions | |
| static QString | libVersion () |
| VLC-Qt version info. More... | |
| static int | libVersionMajor () |
| VLC-Qt major version. More... | |
| static int | libVersionMinor () |
| VLC-Qt minor version. More... | |
| static QString | version () |
| libvlc version info More... | |
| static QString | compiler () |
| libvlc compiler info More... | |
| static QString | changeset () |
| libvlc changeset info More... | |
Main instance.
A basic Instance manager for VLC-Qt library. It provides main instance controls.
|
explicit |
VlcInstance constructor.
This is mandatory for using VLC-Qt and all its other classes.
| args | libvlc arguments (QStringList) |
| parent | Instance's parent object (QObject *) |
| VlcInstance::~VlcInstance | ( | ) |
VlcInstance destructor
| QList< VlcModuleDescription * > VlcInstance::audioFilterList | ( | ) | const |
List audio filter modules.
|
static |
libvlc changeset info
|
static |
libvlc compiler info
| libvlc_instance_t * VlcInstance::core | ( | ) |
Returns libvlc instance object.
|
static |
VLC-Qt version info.
|
static |
VLC-Qt major version.
|
static |
VLC-Qt minor version.
| Vlc::LogLevel VlcInstance::logLevel | ( | ) | const |
Returns current log level (default Vlc::ErrorLevel)
| void VlcInstance::setAppId | ( | const QString & | id, |
| const QString & | version, | ||
| const QString & | icon | ||
| ) |
Sets the application some meta-information.
| id | Java-style application identifier, e.g. "com.acme.foobar" |
| version | application version numbers, e.g. "1.2.3" |
| icon | application icon name, e.g. "foobar" |
| void VlcInstance::setLogLevel | ( | Vlc::LogLevel | level | ) |
| void VlcInstance::setUserAgent | ( | const QString & | application, |
| const QString & | version | ||
| ) |
Sets the application name.
libvlc passes this as the user agent string when a protocol requires it.
| application | Application name (QString) |
| version | Application version (QString) |
| bool VlcInstance::status | ( | ) | const |
Returns libvlc initialisation status.
|
static |
libvlc version info
| QList< VlcModuleDescription * > VlcInstance::videoFilterList | ( | ) | const |
List video filter modules.