1/* 2 * Copyright 2004-2018, Axel D��rfler, axeld@pinc-software.de. 3 * All rights reserved. Distributed under the terms of the MIT 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 { 14public: 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, 22 const char* attribute) = 0; 23 24protected: 25 const entry_ref& Ref() const { return fRef; } 26 27private: 28 entry_ref fRef; 29}; 30 31 32#endif /* PROBE_WINDOW_H */ 33