2009-01-14 23:48:15 -07:00
|
|
|
#ifndef _PLUGINVIDEO_H
|
|
|
|
#define _PLUGINVIDEO_H
|
|
|
|
|
|
|
|
#include "pluginspecs_video.h"
|
|
|
|
#include "Plugin.h"
|
|
|
|
|
|
|
|
namespace Common {
|
|
|
|
typedef void (__cdecl* TVideo_Prepare)();
|
|
|
|
typedef void (__cdecl* TVideo_SendFifoData)(u8*,u32);
|
2009-01-24 15:02:27 -07:00
|
|
|
typedef void (__cdecl* TVideo_UpdateXFB)(u8*, u32, u32, s32, bool);
|
2009-01-14 23:48:15 -07:00
|
|
|
typedef bool (__cdecl* TVideo_Screenshot)(const char* filename);
|
|
|
|
typedef void (__cdecl* TVideo_EnterLoop)();
|
|
|
|
typedef void (__cdecl* TVideo_AddMessage)(const char* pstr, unsigned int milliseconds);
|
|
|
|
typedef void (__cdecl* TVideo_Stop)();
|
|
|
|
|
2009-01-24 05:09:30 -07:00
|
|
|
class PluginVideo : public CPlugin
|
|
|
|
{
|
2009-01-23 14:28:55 -07:00
|
|
|
public:
|
2009-01-24 05:09:30 -07:00
|
|
|
PluginVideo(const char *_Filename);
|
|
|
|
~PluginVideo();
|
|
|
|
virtual bool IsValid() {return validVideo;};
|
2009-01-14 23:48:15 -07:00
|
|
|
|
2009-01-24 05:09:30 -07:00
|
|
|
TVideo_Prepare Video_Prepare;
|
|
|
|
TVideo_SendFifoData Video_SendFifoData;
|
|
|
|
TVideo_UpdateXFB Video_UpdateXFB;
|
|
|
|
TVideo_Screenshot Video_Screenshot;
|
|
|
|
TVideo_EnterLoop Video_EnterLoop;
|
|
|
|
TVideo_AddMessage Video_AddMessage;
|
|
|
|
TVideo_Stop Video_Stop;
|
2009-01-14 23:48:15 -07:00
|
|
|
|
|
|
|
private:
|
2009-01-24 05:09:30 -07:00
|
|
|
bool validVideo;
|
2009-01-14 23:48:15 -07:00
|
|
|
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|