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 7 8 9 #include <Window.h> 10 11 class MediaEncoderWindow : public BWindow { 12 public: 13 MediaEncoderWindow(BRect frame, 14 BView* pBView); 15 virtual ~MediaEncoderWindow(); 16 17 void Go(); 18 19 protected: 20 virtual void MessageReceived(BMessage *msg); 21 virtual bool QuitRequested(); 22 23 private: 24 BView* fView; 25 sem_id fQuitSem; 26 27 }; 28 29 #endif // MEDIA_ENCODER_WINDOW_H 30