vfs: check userland buffers before reading them.
[haiku.git] / src / apps / diskprobe / FileWindow.h
blob2893eced2af98cf092c9fd051ca2a9409ffb1efb
1 /*
2 ** Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3 ** Distributed under the terms of the MIT License.
4 */
5 #ifndef FILE_WINDOW_H
6 #define FILE_WINDOW_H
9 #include "ProbeWindow.h"
11 class ProbeView;
14 class FileWindow : public ProbeWindow {
15 public:
16 FileWindow(BRect rect, entry_ref *ref, const BMessage *settings = NULL);
18 virtual bool QuitRequested();
19 virtual bool Contains(const entry_ref &ref, const char *attribute);
21 private:
22 ProbeView *fProbeView;
25 #endif /* FILE_WINDOW_H */