kdemm Library API Documentation

KDE::Multimedia::Backend Class Reference

Base class for all KDE Multimedia Backends. More...

#include <backend.h>

Inheritance diagram for KDE::Multimedia::Backend:

Inheritance graph
[legend]
Collaboration diagram for KDE::Multimedia::Backend:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Backend (QObject *parent=0, const char *name=0)
virtual ~Backend ()
virtual PlayercreatePlayer ()=0
virtual VideoPlayercreateVideoPlayer ()
virtual bool playSoundEvent (const KURL &url)
virtual ChannelcreateChannel (const QString &title, const QString &channeltype, Channel::Direction direction)=0
virtual QStringList availableChannels (Channel::Direction direction) const =0
virtual QStringList playableMimeTypes () const =0

Detailed Description

Base class for all KDE Multimedia Backends.

This class provides the interface for Multimedia Backends. Use it to get a pointer to a new Player or VideoWidget. There are some reserved functions for later extension of the class.

Author:
Matthias Kretz <kretz@kde.org>
Since:
4.0

Definition at line 44 of file backend.h.


Constructor & Destructor Documentation

KDE::Multimedia::Backend::Backend QObject parent = 0,
const char *  name = 0
 

default QObject constructor

Definition at line 40 of file backend.cpp.


Member Function Documentation

virtual Player* KDE::Multimedia::Backend::createPlayer  )  [pure virtual]
 

Returns:
A new instance to a Player from the Backend.

Referenced by playSoundEvent().

virtual VideoPlayer* KDE::Multimedia::Backend::createVideoPlayer  )  [inline, virtual]
 

Create a new VideoPlayer object.

The Backend does not have to implement this function.

Returns:
A new instance to a VideoPlayer from the Backend. Or 0 if the Backend does not support the VideoPlayer interface.

Definition at line 66 of file backend.h.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kdemm Library Version 3.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Sep 13 04:04:39 2005 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003