12345678910111213141516171819202122232425262728293031323334 |
- #ifndef TRACKREFERENCE_H
- #define TRACKREFERENCE_H
- #include <vector>
- #include "Utils.h"
- #include "ProtoHelper.h"
- #include <iostream>
- #include <string>
- class TrackReference
- {
- private:
- std::string alphabet = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
- std::vector<uint8_t> base62Decode(std::string uri);
- public:
- TrackReference(TrackRef *ref);
- ~TrackReference();
- TrackRef* ref;
- std::vector<uint8_t> gid;
- bool isEpisode = false;
-
- std::string getMercuryRequestUri();
- };
- #endif
|