blob: f46c1c14f7c21b58df8ed289102df6252b841471 (
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
49
50
51
52
53
54
55
56
|
#ifndef SCANWINDOW_H
#define SCANWINDOW_H
#include <interface/Window.h>
#include <interface/View.h>
#include "hb.h"
class BButton;
class BMenuField;
class BPopUpMenu;
class BRadioButton;
class BStatusBar;
class BTextControl;
class ScanView : public BView
{
public:
ScanView( hb_handle_t * handle );
void HandleMessage( BMessage * msg );
void Update( hb_state_t * s );
void RadioChanged();
void SetEnabled( bool );
private:
void DetectVolumes();
hb_handle_t * fHandle;
BRadioButton * fDetectedRadio;
BPopUpMenu * fPopUp;
BMenuField * fMenu;
BRadioButton * fFolderRadio;
BTextControl * fControl;
BButton * fBrowseButton;
BStatusBar * fBar;
BButton * fCancelButton;
BButton * fOpenButton;
BFilePanel * fFilePanel;
};
class ScanWindow : public BWindow
{
public:
ScanWindow( hb_handle_t * handle );
void MessageReceived( BMessage * msg );
void Update( hb_state_t * s );
private:
ScanView * fView;
};
#endif
|