summaryrefslogtreecommitdiffstats
path: root/beos/ScanView.h
blob: 11ed342ccf9bc0fec52a9cc3f826aedbc1973631 (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
/* $Id: ScanView.h,v 1.2 2003/11/06 14:36:54 titer Exp $

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

#ifndef HB_SCAN_VIEW_H
#define HB_SCAN_VIEW_H

#include <View.h>
class BButton;
class BFilePanel;
class BMenuField;
class BPopUpMenu;
class BRadioButton;
class BStringView;
class BTextControl;

#include "HandBrake.h"

#define SCAN_RADIO         'scra'
#define SCAN_BROWSE_BUTTON 'sbrb'
#define SCAN_OPEN          'scop'

class ScanView : public BView
{
    public:
                       ScanView( HBHandle * handle );
        void           MessageReceived( BMessage * message );
        void           UpdateIntf( HBStatus status, int modeChanged );

    private:
        void           DetectVolumes();

        HBHandle     * fHandle;
        
        BRadioButton * fRadioDetected;
        BRadioButton * fRadioFolder;
        BMenuField   * fField;
        BPopUpMenu   * fPopUp;
        BTextControl * fFolderControl;
        BButton      * fBrowseButton;
        BFilePanel   * fFilePanel;
        BStringView  * fStatusString;
        BButton      * fOpenButton;
};

#endif