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 >
Wrap
Text File
|
1997-02-16
|
779b
|
39 lines
/* 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();
};