OSDN Git Service

initialize title->angle_count to 1
[handbrake-jp/handbrake-jp-git.git] / qt4 / qhandbrake.h
1 #ifndef QHANDBRAKE_H
2 #define QHANDBRAKE_H
3
4 #include <QtGui>
5 #include "hb.h"
6
7 class QHandBrake : public QObject {
8     Q_OBJECT
9
10 public:
11     QHandBrake(QObject *parent = 0);
12     ~QHandBrake();
13
14     QStandardItemModel *titleListModel();
15
16 signals:
17     void scanProgress(int cur, int total);
18
19 public slots:
20     void startScan(const QString sDevice);
21     void encode();
22
23 private:
24     hb_handle_t *hbHandle;
25     hb_title_t *hbTitle;
26
27     QStandardItemModel *titleModel;
28 };
29
30 #endif // QHANDBRAKE_H