VlcInstance Class Reference

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...
 
void setUserAgent (const QString &application, const QString &version)
 Sets the application name. 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...
 

Detailed Description

A basic Instance manager for VLC-Qt library. It provides main instance controls.

Constructor & Destructor Documentation

VlcInstance::VlcInstance ( const QStringList &  args,
QObject *  parent = NULL 
)
explicit

This is mandatory for using VLC-Qt and all its other classes.

Parameters
argslibvlc arguments (QStringList)
parentInstance's parent object (QObject *)
VlcInstance::~VlcInstance ( )

VlcInstance destructor

Member Function Documentation

QList< VlcModuleDescription * > VlcInstance::audioFilterList ( ) const
Returns
audio filter module description list
QString VlcInstance::changeset ( )
static
Returns
a string containing the changeset (QString)
QString VlcInstance::compiler ( )
static
Returns
a string containing the compiler version (QString)
libvlc_instance_t * VlcInstance::core ( )
Returns
libvlc instance (libvlc_instance_t *)
QString VlcInstance::libVersion ( )
static
Returns
a string containing the VLC-Qt version (QString)
int VlcInstance::libVersionMajor ( )
static
Returns
VLC-Qt major version (int)
int VlcInstance::libVersionMinor ( )
static
Returns
VLC-Qt minor version (int)
void VlcInstance::setUserAgent ( const QString &  application,
const QString &  version 
)

libvlc passes this as the user agent string when a protocol requires it.

Parameters
applicationApplication name (QString)
versionApplication version (QString)
bool VlcInstance::status ( ) const
Returns
libvlc status (bool)
QString VlcInstance::version ( )
static
Returns
a string containing the libvlc version (QString)
QList< VlcModuleDescription * > VlcInstance::videoFilterList ( ) const
Returns
video filter module description list

The documentation for this class was generated from the following files: