api__ml_plg.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #ifndef NULLSOFT_ML_PLG_API_H
  2. #define NULLSOFT_ML_PLG_API_H
  3. #include <api/application/api_application.h>
  4. extern api_application *applicationApi;
  5. #define WASABI_API_APP applicationApi
  6. #include "../playlist/api_playlistmanager.h"
  7. extern api_playlistmanager *playlistManagerApi;
  8. #define AGAVE_API_PLAYLISTMGR playlistManagerApi
  9. #include "../Agave/Config/api_config.h"
  10. //extern api_config *agaveConfigApi;
  11. //#define AGAVE_API_CONFIG agaveConfigApi
  12. #include "../Winamp/api_decodefile.h"
  13. extern api_decodefile *decodeApi;
  14. #define AGAVE_API_DECODE decodeApi
  15. #include "../gracenote/api_gracenote.h"
  16. extern api_gracenote *gracenoteApi;
  17. #define AGAVE_API_GRACENOTE gracenoteApi
  18. #include "../Agave/Metadata/api_metadata.h"
  19. extern api_metadata *metadataApi;
  20. #define AGAVE_API_METADATA metadataApi
  21. #include "../ml_local/api_mldb.h"
  22. extern api_mldb *mldbApi;
  23. #define AGAVE_API_MLDB mldbApi
  24. #include <api/syscb/api_syscb.h>
  25. extern api_syscb *sysCallbackApi;
  26. #define WASABI_API_SYSCB sysCallbackApi
  27. #include "../nu/threadpool/api_threadpool.h"
  28. extern api_threadpool *threadPoolApi;
  29. #define WASABI_API_THREADPOOL threadPoolApi
  30. // (BigG) Added for playlist export support
  31. #include "../playlist/api_playlists.h"
  32. extern api_playlists *playlistsApi;
  33. #define AGAVE_API_PLAYLISTS playlistsApi
  34. // Added for Stat collection
  35. #include "../Winamp/api_stats.h"
  36. extern api_stats *statsApi;
  37. #define AGAVE_API_STATS statsApi
  38. #endif