summaryrefslogtreecommitdiffstats
path: root/libk9copy/k9videocodecs.h
blob: 644c6a5c8b93411f4afcb13f3907422693adaa3e (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
55
//
// C++ Interface: k9videocodecs
//
// Description: 
//
//
// Author: Jean-Michel PETIT <k9copy@free.fr>, (C) 2007
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef K9VIDEOCODECS_H
#define K9VIDEOCODECS_H

#include "k9common.h"
#include <tqobject.h>
#include <tqmap.h>
#include "k9config.h"

/**
	@author Jean-Michel PETIT <k9copy@free.fr>
*/
class _k9VideoCodec;

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

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

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


};

#endif