8 #ifndef POOR_MAN_SITE_VIEW_H
9 #define POOR_MAN_SITE_VIEW_H
12 #include <TextControl.h>
17 class PoorManSiteView
: public BView
{
19 PoorManSiteView(const char *name
);
21 void SetSendDirValue(bool state
)
24 fSendDir
->SetValue(B_CONTROL_ON
);
26 fSendDir
->SetValue(B_CONTROL_OFF
);
31 return (fSendDir
->Value() == B_CONTROL_ON
);
34 const char* IndexFileName()
36 return fIndexFileName
->Text();
39 void SetIndexFileName(const char* name
)
41 fIndexFileName
->SetText(name
);
46 return fWebDir
->Text();
49 void SetWebDir(const char* dir
)
51 fWebDir
->SetText(dir
);
57 BTextControl
* fWebDir
;
58 BTextControl
* fIndexFileName
;
59 BButton
* fSelectWebDir
;