Add files via upload
This commit is contained in:
35 files changed
+14482
No files matched your search
@@ -0,0 +1,24 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
class AudioUploadServer {
|
||||
public:
|
||||
AudioUploadServer();
|
||||
~AudioUploadServer();
|
||||
AudioUploadServer(const AudioUploadServer&) = delete;
|
||||
AudioUploadServer& operator=(const AudioUploadServer&) = delete;
|
||||
|
||||
bool start(const std::string& bindAddress, const std::string& uploadDirectory,
|
||||
const std::string& assetsRoot, const std::string& sessionCode,
|
||||
std::string& error, bool photoTransfer = false,
|
||||
const std::string& noteSingular = "Switchnote");
|
||||
void stop();
|
||||
bool isRunning() const;
|
||||
bool isConnected() const;
|
||||
bool takeCompletedUpload(int& track);
|
||||
void finishCompletedUpload(bool success);
|
||||
|
||||
private:
|
||||
void* impl_ = nullptr;
|
||||
};
|
||||
Reference in new issue
Block a user
