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

#include "k9common.h"
#include "k9dvd.h"
#include <tqdatetime.h>
#include <tqstringlist.h>
#include <tqptrlist.h>
#include "k9dvdtitle.h"
		
class k9DVDTitleset :public TQObject
{
  TQ_OBJECT
  
private:
  int m_num;
  uint32_t m_size;
  TQPtrList <k9DVDTitle> titles;
  bool m_selected;
  bool m_updating;
  bool m_audioStreams[8];
public:
  k9DVDTitleset( uint _num,uint32_t _size); 
  virtual void add(k9DVDTitle *_title);
  virtual int count();
  virtual k9DVDTitle *gettitle(uint _pos);
  virtual uint32_t getsize();
  virtual const TQString getsize_mb();
  virtual bool getselected();
  virtual void setselected(bool state);
  virtual void updateSelection();
  virtual int getnum();
  virtual void setAudio(int _id,bool _selected);
  virtual int getNewAudioStreamId(int _oldId);
}
;

#endif