Add a FrameShift module and support for keys commands to be sent to modules

This commit is contained in:
jfmcarreira committed 2015-09-24 01:10:03 +01:00
1 parent 64fd5cb1a9
commit 57b775f7d1
11 files changed
+154 -65

No files matched your search

+14 -1
View File
@@ -74,14 +74,22 @@ enum Module_NumberOfFrames
MODULE_REQUIRES_SIX_FRAMES,
};
enum Module_Requirements
enum Module_Features
{
MODULE_REQUIRES_NOTHING = 0,
MODULE_REQUIRES_SKIP_WHILE_PLAY = 1,
MODULE_REQUIRES_OPTIONS = 2,
MODULE_REQUIRES_NEW_WINDOW = 4,
MODULE_USES_KEYS = 8,
};
enum Module_Key_Supported
{
MODULE_KEY_LEFT,
MODULE_KEY_RIGHT,
};
class PlaYUVerModuleIf
{
public:
@@ -139,6 +147,11 @@ public:
return 0;
}
virtual Bool keyPressed( enum Module_Key_Supported )
{
return false;
}
};
} // NAMESPACE