GLPlugInIntf.pas 864 B

1234567891011121314151617181920212223242526272829303132
  1. //
  2. // This unit is part of the GLScene Engine, http://glscene.org
  3. //
  4. {
  5. An interface unit to plug-ins.
  6. For more information see help file for writing plug-ins.
  7. }
  8. unit GLPlugInIntf;
  9. interface
  10. {$I GLScene.inc}
  11. type
  12. TPIServiceType = (stRaw, stObject, stBitmap, stTexture, stImport, stExport);
  13. TPIServices = set of TPIServiceType;
  14. TEnumCallBack = procedure(Name: PAnsiChar); stdcall;
  15. TEnumResourceNames = procedure(Service: TPIServiceType;
  16. Callback: TEnumCallBack); stdcall;
  17. TGetServices = function: TPIServices; stdcall;
  18. TGetVendor = function: PAnsiChar; stdcall;
  19. TGetDescription = function: PAnsiChar; stdcall;
  20. TGetVersion = function: PAnsiChar; stdcall;
  21. //------------------------------------------------------------
  22. implementation
  23. //------------------------------------------------------------
  24. end.