vfs: check userland buffers before reading them.
[haiku.git] / src / add-ons / print / drivers / gutenprint / SelectPrinterDialog.h
blobb083f028e2b53ee7cf8b730a5aad8dcea79fe8eb
1 #ifndef SELECT_PRINTER_DIALOG_H
2 #define SELECT_PRINTER_DIALOG_H
5 #include <storage/FindDirectory.h>
7 #include "DialogWindow.h"
8 #include "GPData.h"
11 class BListView;
12 class BButton;
13 class PSData;
16 class SelectPrinterDialog : public DialogWindow {
17 public:
18 SelectPrinterDialog(GPData* data);
20 void MessageReceived(BMessage* msg);
21 private:
22 void PopulateManufacturers();
23 void PopulatePrinters();
24 BString GetSelectedItemValue(BListView* listView);
25 void PrinterSelected();
26 void Save();
28 BListView* fManufacturersListView;
29 BListView* fPrintersListView;
30 BButton* fOKButton;
32 GPData* fData;
35 #endif // SELECTPPDDLG_H