1/* 2** Copyright 2004, Axel D��rfler, axeld@pinc-software.de. All rights reserved. 3** Distributed under the terms of the OpenBeOS License. 4*/ 5#ifndef PROBE_WINDOW_H 6#define PROBE_WINDOW_H 7 8 9#include <Window.h> 10#include <Entry.h> 11 12 13class ProbeWindow : public BWindow { 14 public: 15 ProbeWindow(BRect rect, entry_ref *ref); 16 virtual ~ProbeWindow(); 17 18 virtual void MessageReceived(BMessage *message); 19 virtual bool QuitRequested(); 20 21 virtual bool Contains(const entry_ref &ref, const char *attribute) = 0; 22 23 protected: 24 const entry_ref &Ref() const { return fRef; } 25 26 private: 27 entry_ref fRef; 28}; 29 30#endif /* PROBE_WINDOW_H */ 31