ApResolve.h 354 B

123456789101112131415161718192021
  1. #ifndef APRESOLVE_H
  2. #define APRESOLVE_H
  3. #include <string>
  4. class ApResolve {
  5. private:
  6. std::string getApList();
  7. public:
  8. ApResolve();
  9. /**
  10. * @brief Connects to spotify's servers and returns first valid ap address
  11. *
  12. * @return std::string Address in form of url:port
  13. */
  14. std::string fetchFirstApAddress();
  15. };
  16. #endif