1 //**************************************************************************************** 2 // 3 // File: PrefsWindow.h 4 // 5 // Written by: Daniel Switkin 6 // 7 // Copyright 1999, Be Incorporated 8 // 9 //**************************************************************************************** 10 11 #ifndef PREFSWINDOW_H 12 #define PREFSWINDOW_H 13 14 #include <interface/Window.h> 15 #include <app/Messenger.h> 16 #include "Prefs.h" 17 18 class PrefsWindow : public BWindow { 19 public: 20 PrefsWindow(BRect rect, const char *name, BMessenger *messenger, Prefs *prefs); 21 void MessageReceived(BMessage *message); 22 ~PrefsWindow(); 23 void Quit(); 24 25 Prefs *prefs; 26 BMessenger *messenger; 27 }; 28 29 #endif 30