1
0

api.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #pragma once
  2. #include "../Agave/Language/api_language.h"
  3. #include <api/application/api_application.h>
  4. extern api_application *applicationApi;
  5. #define WASABI_API_APP applicationApi
  6. #include "../Components/wac_downloadManager/wac_downloadManager_api.h"
  7. #include "../Agave/Config/api_config.h"
  8. extern api_config *config;
  9. #define AGAVE_API_CONFIG config
  10. #include "../devices/api_devicemanager.h"
  11. extern api_devicemanager *deviceManagerApi;
  12. #define AGAVE_API_DEVICEMANAGER deviceManagerApi
  13. #include "../Agave/Metadata/api_metadata.h"
  14. extern api_metadata *metadataApi;
  15. #define AGAVE_API_METADATA metadataApi
  16. #include "../Agave/AlbumArt/api_albumart.h"
  17. extern api_albumart *albumArtApi;
  18. #define AGAVE_API_ALBUMART albumArtApi
  19. #include <api/memmgr/api_memmgr.h>
  20. extern api_memmgr *memmgr;
  21. #define WASABI_API_MEMMGR memmgr
  22. namespace Wasabi2
  23. {
  24. #include "service/api_service.h"
  25. #include "ssdp/api_ssdp.h"
  26. }
  27. extern Wasabi2::api_service *WASABI2_API_SVC;
  28. extern Wasabi2::api_ssdp *REPLICANT_API_SSDP;
  29. void WasabiInit();
  30. void WasabiQuit();