Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- extern "C" const VisPluginInfo *get_plugin_info (int *count)
- {
- static VisActorPlugin actor[] = {{
- .requisition = lcdcontrol_requisition,
- .palette = lcdcontrol_palette,
- .render = lcdcontrol_render,
- .vidoptions.depth = VISUAL_VIDEO_DEPTH_8BIT
- }};
- static VisPluginInfo info[] = {{
- .type = VISUAL_PLUGIN_TYPE_ACTOR,
- .plugname = "lcdcontrol",
- .name = "LCDControl",
- .author = "Scott Sibley <sisibley@gmail.com>",
- .version = "0.1",
- .about = "Libvisual LCD simulation",
- .help = "This plugin simulates an LCD and is based on LCD4Linux.",
- .init = lcdcontrol_init,
- .cleanup = lcdcontrol_cleanup,
- .events = lcdcontrol_events,
- .plugin = VISUAL_OBJECT (&actor[0])
- }};
- *count = sizeof (info) / sizeof (*info);
- return info;
- }
Add Comment
Please, Sign In to add comment