home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ool.zip / OOL / samples / sample3 / sample3.h < prev    next >
Text File  |  1997-02-16  |  779b  |  39 lines

  1. /* the nly function of sample3 it to play videofiles, and the only thing to learn */
  2. /* is how to use the multimedia-classes */
  3.  
  4. #include "xheaders.h"
  5.  
  6. #include XApplication_i
  7. #include XResourceLibrary_i
  8. #include XRect_i
  9. #include XResource_i
  10. #include XPushButton_i
  11. #include XFrameWindow_i
  12. #include XVideo_i
  13.  
  14. #include "resource.h"
  15.  
  16.  
  17. class MyAppWindow: public XFrameWindow
  18. {
  19.    public:
  20.         MyAppWindow( XApplication * app, XResource *);
  21.         BOOL DoCommand( LONG);
  22.         void DoControl( XControlEvent*);
  23.         void Draw( void );
  24.         BOOL QueryForClose( void );
  25.    private:
  26.         XPushButton * back, *halt, *play, *plus, *mini, *sel;
  27.         XVideo * video;
  28. };
  29.  
  30.  
  31. class MyApp: public XApplication
  32. {
  33.    private:
  34.       MyAppWindow * window;
  35.    public:
  36.       MyApp();
  37. };
  38.  
  39.