summaryrefslogtreecommitdiffstats
path: root/core/Worker.h
blob: 5df8f648b0c75ae073035dd0199fa4dbc1c0b603 (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
/* $Id: Worker.h,v 1.3 2003/10/16 13:36:17 titer Exp $

   This file is part of the HandBrake source code.
   Homepage: <http://beos.titer.org/handbrake/>.
   It may be used under the terms of the GNU General Public License. */

#ifndef HB_WORKER_H
#define HB_WORKER_H

#include "Common.h"
#include "Thread.h"

class HBWorker : public HBThread
{
    public:
                        HBWorker( HBTitle * title, HBAudio * audio1,
                                  HBAudio * audio2 );
        void            WaitUntilDone();

    private:
        void            DoWork();
        
        HBTitle       * fTitle;
        HBAudio       * fAudio1;
        HBAudio       * fAudio2;
};

#endif