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