File: QCodecConfigImpl.h

package info (click to toggle)
dvr 3.2-8
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 896 kB
  • ctags: 394
  • sloc: cpp: 3,192; makefile: 134; sh: 100; yacc: 39
file content (51 lines) | stat: -rw-r--r-- 1,635 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*********************************************************************************************************
DVR, Digital Video Recorder - a tool to record movies (audio/video), using realtime compression

It uses libavifile (see http://divx.euro.ru) and some code from kwintv (see wenk@mathematik.uni-kl.de)

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General
Public License as published by the Free Software Foundation, etc.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY, etc.

copyright(C) february 2001, Pierre Hbert (pierre.hebert@netcourrier.com)
*********************************************************************************************************/

// codec configuration dialog box implementation header

#ifndef QCODECCONFIGIMPL_H
#define QCODECCONFIGIMPL_H
#include <string>

#include <infotypes.h>
#include "QCodecConfig.h"

using namespace std;

class QCodecConfigImpl : public QCodecConfig
{ 
    Q_OBJECT

public:
    QCodecConfigImpl( QWidget* parent = 0, const char* name = 0);
    QCodecConfigImpl( int fourcc, QWidget* parent = 0, const char* name = 0);
    ~QCodecConfigImpl();

	void setVideoCodecName(const string &);
	string videoCodecName() const { return video_codec_name; }

public slots:
    virtual void changeAttribute(QListViewItem *);
    virtual void changeCodec();
    virtual void setAttribute();
	virtual void changeParameter();

signals:
	void parameterChanged();

protected:
	string	video_codec_name;
	int compressor;
	AttributeInfo::Kind current_attribute_kind;
};

#endif // QCODECCONFIGIMPL_H