main.h 704 B

1234567891011121314151617181920212223242526
  1. #ifndef NULLSOFT_PLAYLIST_MAIN_H
  2. #define NULLSOFT_PLAYLIST_MAIN_H
  3. #include <windows.h>
  4. #include <shlwapi.h>
  5. #include "..\Components\wac_network\wac_network_http_receiver_api.h"
  6. extern int (*warand)(void);
  7. HRESULT ResolveShortCut(HWND hwnd, LPCWSTR pszShortcutFile, LPWSTR pszPath);
  8. bool IsUrl(const wchar_t *url);
  9. void SetUserAgent(api_httpreceiver *http);
  10. const char *GetProxy();
  11. #include "../Agave/Component/ifc_wa5component.h"
  12. class PlaylistComponent : public ifc_wa5component
  13. {
  14. public:
  15. void RegisterServices(api_service *service);
  16. int RegisterServicesSafeModeOk();
  17. void DeregisterServices(api_service *service);
  18. protected:
  19. RECVS_DISPATCH;
  20. };
  21. extern PlaylistComponent playlistComponent;
  22. #endif