1 /* PoorManPreferencesWindow.h
9 #ifndef POOR_MAN_PREFERENCES_WINDOW_H
10 #define POOR_MAN_PREFERENCES_WINDOW_H
13 #include <SupportDefs.h>
16 #include <FilePanel.h>
19 #include "PoorManView.h"
20 #include "PoorManSiteView.h"
21 #include "PoorManLoggingView.h"
22 #include "PoorManAdvancedView.h"
25 class PoorManPreferencesWindow
: public BWindow
{
27 PoorManPreferencesWindow(BRect frame
, char* name
);
28 ~PoorManPreferencesWindow();
30 virtual void MessageReceived(BMessage
* message
);
32 void ShowWebDirFilePanel();
33 void SelectWebDir(BMessage
* message
);
34 void CreateLogFile(BMessage
* message
);
37 PoorManView
* fPrefView
;
38 PoorManView
* fButtonView
;
40 // ------------------------------------------------
42 BTabView
* fPrefTabView
;
47 PoorManSiteView
* fSiteView
;
48 PoorManLoggingView
* fLoggingView
;
49 PoorManAdvancedView
* fAdvancedView
;
51 // ------------------------------------------------
53 BButton
* fCancelButton
;
56 // ------------------------------------------------
58 BFilePanel
* fWebDirFilePanel
;
59 BFilePanel
* fLogFilePanel
;
62 // ------------------------------------------------
63 // temporary preference variables used to save and
64 // set the application to
66 char fWebDirectory
[B_FILE_NAME_LENGTH
];
67 char fIndexFileName
[64];
72 char fLogFileName
[B_FILE_NAME_LENGTH
];
74 int32 fMaxConnections
;