MythTV  master
visual.h
Go to the documentation of this file.
1 // Copyright (c) 2000-2001 Brad Hughes <bhughes@trolltech.com>
2 //
3 // Use, modification and distribution is allowed without limitation,
4 // warranty, or liability of any kind.
5 //
6 
7 #ifndef __visual_h
8 #define __visual_h
9 
10 #include <QMutex>
11 
12 class Decoder;
13 class AudioOutput;
14 namespace MythTV
15 {
16 class Visual
17 {
18 public:
19  Visual() { ; }
20  virtual ~Visual() { ; }
21 
22  virtual void add(const void *b, unsigned long b_len, unsigned long w, int c, int p) = 0;
23  virtual void prepare() = 0;
24 
25  QMutex *mutex() { return &mtx; }
26 
27 
28 private:
29  QMutex mtx;
30 };
31 };
32 
33 #endif // __visual_h
virtual void add(const void *b, unsigned long b_len, unsigned long w, int c, int p)=0
QMutex mtx
Definition: visual.h:29
virtual ~Visual()
Definition: visual.h:20
virtual void prepare()=0
unsigned char b
Definition: ParseText.cpp:329
QMutex * mutex()
Definition: visual.h:25
Definition: output.h:25