/* the nly function of sample3 it to play videofiles, and the only thing to learn */
/* is how to use the multimedia-classes */

#include "xheaders.h"

#include XApplication_i
#include XResourceLibrary_i
#include XRect_i
#include XResource_i
#include XPushButton_i
#include XFrameWindow_i
#include XVideo_i

#include "resource.h"


class MyAppWindow: public XFrameWindow
{
   public:
		MyAppWindow( XApplication * app, XResource *);
		BOOL DoCommand( LONG);
		void DoControl( XControlEvent*);
		void Draw( void );
		BOOL QueryForClose( void );
   private:
		XPushButton * back, *halt, *play, *plus, *mini, *sel;
		XVideo * video;
};


class MyApp: public XApplication
{
   private:
      MyAppWindow * window;
   public:
      MyApp();
};

