| 1 |
#ifndef AVICAPDIALOG_H |
| 2 |
#define AVICAPDIALOG_H |
| 3 |
|
| 4 |
#include "avicapwnd_p.h" |
| 5 |
|
| 6 |
class V4LWindow; |
| 7 |
class QTimer; |
| 8 |
class CaptureProcess; |
| 9 |
class CaptureProgress; |
| 10 |
class ClosedCaption; |
| 11 |
|
| 12 |
struct CaptureConfig; |
| 13 |
|
| 14 |
class AviCapDialog : public AviCapDlg |
| 15 |
{ |
| 16 |
Q_OBJECT; |
| 17 |
|
| 18 |
V4LWindow* m_pWnd; |
| 19 |
QTimer* m_pTimer; |
| 20 |
CaptureProcess* m_pCapproc; |
| 21 |
CaptureProgress* m_pProgress; |
| 22 |
CaptureConfig *my_config; |
| 23 |
ClosedCaption* m_pCC; |
| 24 |
int m_eOldMode; |
| 25 |
bool m_bStarted; |
| 26 |
bool i_am_mini; |
| 27 |
bool use_dirpool; |
| 28 |
int last_dropped_enc,last_dropped_cap,last_synchfix; |
| 29 |
long last_synchfix_time; |
| 30 |
|
| 31 |
public: |
| 32 |
AviCapDialog(V4LWindow* pWnd,CaptureConfig *conf); |
| 33 |
|
| 34 |
~AviCapDialog(); |
| 35 |
CaptureProcess *getCaptureProcess() { return m_pCapproc; }; |
| 36 |
public slots: |
| 37 |
void start(); |
| 38 |
void mini(); |
| 39 |
void segment(); |
| 40 |
void stop(); |
| 41 |
void updateGraphs(); |
| 42 |
bool close(); |
| 43 |
}; |
| 44 |
|
| 45 |
#endif |