summaryrefslogtreecommitdiffstats
path: root/beos/HBWindow.h
blob: 52ddfbf1be86501c1c64b14992f8cea1f4bcec6b (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
#include "layout-all.h"
#include "HandBrake.h"

class HBWindow : public MWindow
{
    public:
        HBWindow();
        bool QuitRequested();
        void MessageReceived( BMessage * message );

        void Scanning( int title, int titleCount );
        void ScanDone( HBList * titleList );
        void Encoding( float position, int pass, int passCount,
                       float frameRate, float avgFrameRate,
                       int remainingTime );
        void RipDone( int result );

    private:
        void UpdateLanguages();
        
        HBHandle * fHandle;
        HBList   * fTitleList;

        LayeredGroup * fLayers;
        
        MView        * fScanView;
        MRadioGroup  * fScanRadio;
        MPopup       * fScanDetectedPopup;
        MTextControl * fScanFolderControl;
        MButton      * fScanBrowseButton;
        MStringView  * fScanStatusString;
        MProgressBar * fScanProgress;
        MButton      * fScanOpenButton;

        MView * fRipView;
        MPopup * fRipTitlePopup;
        MPopup * fRipLanguage1Popup;
        MPopup * fRipLanguage2Popup;
        MPopup * fRipBitratePopup;
};