home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ool.zip / OOL / samples / sample7 / sample7.h < prev    next >
Text File  |  1997-01-31  |  814b  |  37 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 XToolBar_i
  11. #include XPushButton_i
  12. #include XFrameWindow_i
  13. #include XGraphicDevice_i
  14.  
  15. class MyAppWindow: public XFrameWindow
  16. {
  17.    public:
  18.       MyAppWindow( XApplication * app, XResource *);
  19.       BOOL QueryForClose();
  20.       void Draw( void );
  21.         BOOL DoCommand(LONG);
  22.    private:
  23.       XToolBar * toolBar;
  24.       XPushButton * back, *halt, *play, *plus, *mini, *sel;
  25.       XGraphicDevice * graphWindow, * graphMemory;
  26. };
  27.  
  28.  
  29. class MyApp: public XApplication
  30. {
  31.    private:
  32.       MyAppWindow * window;
  33.    public:
  34.       MyApp();
  35. };
  36.  
  37.