vfs: check userland buffers before reading them.
[haiku.git] / src / apps / mediaconverter / MediaEncoderWindow.h
blob678468db29ca4954dca62848fbddc3748f63ecb8
1 // Copyright 1999, Be Incorporated. All Rights Reserved.
2 // Copyright 2000-2004, Jun Suzuki. All Rights Reserved.
3 // Copyright 2007, Stephan Aßmus. All Rights Reserved.
4 // This file may be used under the terms of the Be Sample Code License.
5 #ifndef MEDIA_ENCODER_WINDOW_H
6 #define MEDIA_ENCODER_WINDOW_H
9 #include <Window.h>
11 class MediaEncoderWindow : public BWindow {
12 public:
13 MediaEncoderWindow(BRect frame,
14 BView* pBView);
15 virtual ~MediaEncoderWindow();
17 void Go();
19 protected:
20 virtual void MessageReceived(BMessage *msg);
21 virtual bool QuitRequested();
23 private:
24 BView* fView;
25 sem_id fQuitSem;
29 #endif // MEDIA_ENCODER_WINDOW_H