AddonInterface Class Reference

AddonInterface Class Referenceabstract

#include <Phonon/AddonInterface>

Class Description

Interface for Menu, Chapter, Angle and Title/Track control.

Author
Matthias Kretz kretz.nosp@m.@kde.nosp@m..org

Definition at line 43 of file addoninterface.h.

Public Types

enum  Interface {
  NavigationInterface = 1, ChapterInterface = 2, AngleInterface = 3, TitleInterface = 4,
  SubtitleInterface = 5, AudioChannelInterface = 6
}
 
enum  NavigationCommand { Menu1Button }
 
enum  ChapterCommand { availableChapters, chapter, setChapter }
 
enum  AngleCommand { availableAngles, angle, setAngle }
 
enum  TitleCommand {
  availableTitles, title, setTitle, autoplayTitles,
  setAutoplayTitles
}
 
enum  SubtitleCommand { availableSubtitles, currentSubtitle, setCurrentSubtitle }
 
enum  AudioChannelCommand { availableAudioChannels, currentAudioChannel, setCurrentAudioChannel }
 

Public Member Functions

virtual ~AddonInterface ()
 
virtual bool hasInterface (Interface iface) const =0
 
virtual QVariant interfaceCall (Interface iface, int command, const QList< QVariant > &arguments=QList< QVariant >())=0
 

Member Enumeration Documentation

Enumerator
Menu1Button 

Definition at line 57 of file addoninterface.h.

Enumerator
availableChapters 
chapter 
setChapter 

Definition at line 60 of file addoninterface.h.

Enumerator
availableAngles 
angle 
setAngle 

Definition at line 65 of file addoninterface.h.

Enumerator
availableSubtitles 
currentSubtitle 
setCurrentSubtitle 

Definition at line 77 of file addoninterface.h.

Constructor & Destructor Documentation

virtual ~AddonInterface ( )
inlinevirtual

Definition at line 46 of file addoninterface.h.

46 {}

Member Function Documentation

virtual bool hasInterface ( Interface  iface) const
pure virtual
virtual QVariant interfaceCall ( Interface  iface,
int  command,
const QList< QVariant > &  arguments = QListQVariant >() 
)
pure virtual

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