1#ifndef SELECT_PRINTER_DIALOG_H
2#define SELECT_PRINTER_DIALOG_H
3
4
5#include <storage/FindDirectory.h>
6
7#include "DialogWindow.h"
8#include "GPData.h"
9
10
11class BListView;
12class BButton;
13class PSData;
14
15
16class SelectPrinterDialog : public DialogWindow {
17public:
18				SelectPrinterDialog(GPData* data);
19
20	void		MessageReceived(BMessage* msg);
21private:
22	void		PopulateManufacturers();
23	void		PopulatePrinters();
24	BString		GetSelectedItemValue(BListView* listView);
25	void		PrinterSelected();
26	void		Save();
27
28	BListView*	fManufacturersListView;
29	BListView*	fPrintersListView;
30	BButton*	fOKButton;
31
32	GPData*		fData;
33};
34
35#endif // SELECTPPDDLG_H
36