summaryrefslogtreecommitdiffstats
path: root/libk9copy/k9videocodecs.h
blob: 4ef7c7731f94209a6b289caf460a47ebbe58310d (plain)
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
52
53
54
//
// C++ Interface: k9videocodecs
//
// Description: 
//
//
// Author: Jean-Michel PETIT <[email protected]>, (C) 2007
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef K9VIDEOCODECS_H
#define K9VIDEOCODECS_H

#include "k9common.h"
#include <qobject.h>
#include <qmap.h>
#include "k9config.h"

/**
	@author Jean-Michel PETIT <[email protected]>
*/
class _k9VideoCodec;

class k9VideoCodecs : public QObject
{
Q_OBJECT
public:
    k9VideoCodecs(QObject *parent = 0, const char *name = 0);

    ~k9VideoCodecs();
    void save();
    void setFourcc(int _num,QString _value);
    void setOptions0(int _num,QString _value);
    void setOptions1(int _num,QString _value);
    void setOptions2(int _num,QString _value);
    void setCodecName(int _num,QString _value);
    void remove(int _num);
    QString getFourcc(int _num);
    QString getOptions0(int _num);
    QString getOptions1(int _num);
    QString getOptions2(int _num);
    QString getCodecName(int _num);

    int count();
    void reset();
private:
    QMap <int,_k9VideoCodec> m_codecs;
    k9Config *m_config;


};

#endif