big merge

This commit is contained in:
Philippe G
2021-12-18 21:04:23 -08:00
parent 955692f8ad
commit 898998efb0
583 changed files with 84472 additions and 1965 deletions

View File

@@ -0,0 +1,34 @@
#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;
/**
* @brief Returns an uri that can be allowed to query track information.
*
* @return std::string
*/
std::string getMercuryRequestUri();
};
#endif