1/* 2 * Copyright 2002-2006 Haiku, Inc. All Rights Reserved. 3 * Distributed under the terms of the MIT license. 4 * 5 * Copyright 1999, Be Incorporated. All Rights Reserved. 6 * This file may be used under the terms of the Be Sample Code License. 7 * 8 * Written by: Daniel Switkin 9 */ 10#ifndef PREFS_WINDOW_H 11#define PREFS_WINDOW_H 12 13 14#include "Prefs.h" 15 16#include <Messenger.h> 17#include <Window.h> 18 19class BTabView; 20 21class PrefsWindow : public BWindow { 22 public: 23 PrefsWindow(BRect rect, const char *name, BMessenger *messenger, Prefs *prefs); 24 virtual ~PrefsWindow(); 25 26 virtual void MessageReceived(BMessage *message); 27 virtual bool QuitRequested(); 28 29 private: 30 BTabView* fTabView; 31 BMessenger fTarget; 32 Prefs* fPrefs; 33}; 34 35#endif // PREFS_WINDOW_H 36