api__gen_ml.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. #ifndef NULLSOFT_API_H
  2. #define NULLSOFT_API_H
  3. #include "../Agave/Agave.h"
  4. #include <api/wnd/api_wnd.h>
  5. #include <api/skin/api_skin.h>
  6. #include <api/skin/api_palette.h>
  7. #include "../Winamp/api_decodefile.h"
  8. #ifndef IGNORE_API_GRACENOTE
  9. #include "../gracenote/api_gracenote.h"
  10. #endif
  11. #include "api\service\api_service.h"
  12. extern api_service *serviceApi;
  13. #define WASABI_API_SVC serviceApi
  14. #include "api\syscb\api_syscb.h"
  15. extern api_syscb *syscbApi;
  16. #define WASABI_API_SYSCB syscbApi
  17. #include "..\Agave\Language\api_language.h"
  18. //DECLARE_EXTERNAL_SERVICE(api_language, WASABI_API_LNG);
  19. #include <api/application/api_application.h>
  20. extern api_application *applicationApi;
  21. #define WASABI_API_APP applicationApi
  22. #include "../Plugins/Library/ml_local/api_mldb.h"
  23. extern api_mldb *mldbApi;
  24. #define AGAVE_API_MLDB mldbApi
  25. #include "../nu/threadpool/api_threadpool.h"
  26. extern api_threadpool *threadPoolApi;
  27. #define WASABI_API_THREADPOOL threadPoolApi
  28. #include <omBrowser\obj_ombrowser.h>
  29. extern obj_ombrowser *browserManager;
  30. #define OMBROWSERMNGR browserManager
  31. #include "../Winamp/api_decodefile.h"
  32. extern api_decodefile *decodeApi;
  33. #define AGAVE_API_DECODE decodeApi
  34. #include "api/wnd/wndapi.h"
  35. extern wnd_api *wndApi;
  36. #define WASABI_API_WND wndApi
  37. #include <api/skin/api_skin.h>
  38. extern api_skin *skinApi;
  39. #define WASABI_API_SKIN skinApi
  40. #include "../Agave/Config/api_config.h"
  41. #include <api/skin/api_palette.h>
  42. extern api_palette *paletteManagerApi;
  43. #define WASABI_API_PALETTE paletteManagerApi
  44. #ifndef IGNORE_API_GRACENOTE
  45. DECLARE_EXTERNAL_SERVICE(api_gracenote, AGAVE_API_GRACENOTE);
  46. #endif
  47. #include "../Winamp/JSAPI2_api_security.h"
  48. extern JSAPI2::api_security *jsapi2_security;
  49. #define AGAVE_API_JSAPI2_SECURITY jsapi2_security
  50. #endif