blob: 7fb6612095b07330d2391072c3db048dcaf9cd4d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/*
*
*/
#ifndef MEDIAUPLOADER_H_
#define MEDIAUPLOADER_H_
using namespace std;
namespace MediaUploader
{
std::string pushfile(std::string url, FMessage * message, std::string from);
std::string getPostString(std::string url, FMessage * message, std::string from);
std::string sendData(std::string host, std::string head, std::string filePath, std::string tail);
std::string getExtensionFromMime(string mime);
std::string getMimeFromExtension(const string &extension);
};
#endif /* MEDIAUPLOADER_H_ */
|