Guest User

Untitled

a guest
Sep 24th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. extern "C" const VisPluginInfo *get_plugin_info (int *count)
  2. {
  3. static VisActorPlugin actor[] = {{
  4. .requisition = lcdcontrol_requisition,
  5. .palette = lcdcontrol_palette,
  6. .render = lcdcontrol_render,
  7. .vidoptions.depth = VISUAL_VIDEO_DEPTH_8BIT
  8. }};
  9.  
  10. static VisPluginInfo info[] = {{
  11. .type = VISUAL_PLUGIN_TYPE_ACTOR,
  12.  
  13. .plugname = "lcdcontrol",
  14. .name = "LCDControl",
  15. .author = "Scott Sibley <sisibley@gmail.com>",
  16. .version = "0.1",
  17. .about = "Libvisual LCD simulation",
  18. .help = "This plugin simulates an LCD and is based on LCD4Linux.",
  19.  
  20. .init = lcdcontrol_init,
  21. .cleanup = lcdcontrol_cleanup,
  22. .events = lcdcontrol_events,
  23.  
  24. .plugin = VISUAL_OBJECT (&actor[0])
  25. }};
  26.  
  27. *count = sizeof (info) / sizeof (*info);
  28.  
  29. return info;
  30. }
Add Comment
Please, Sign In to add comment