summaryrefslogtreecommitdiffstats
path: root/beos/ScanView.h
blob: 5e2514b54f32ea891c357458a13afd1bc0108f48 (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/10/13 22:23:02 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_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 "Common.h"

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

class ScanView : public BView
{
    public:
                       ScanView( HBManager * manager );
        void           MessageReceived( BMessage * message );
        void           UpdateIntf( HBStatus status );

    private:
        void           DetectVolumes();

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

#endif