mirror of
https://github.com/falk-werner/webfuse
synced 2024-10-27 20:34:10 +00:00
32 lines
593 B
C++
32 lines
593 B
C++
|
#ifndef WF_UTILS_ADAPTER_CLIENT_HPP
|
||
|
#define WF_UTILS_APAPTER_CLIENT_HPP
|
||
|
|
||
|
#include "webfuse/adapter/client.h"
|
||
|
#include <string>
|
||
|
|
||
|
namespace webfuse_test
|
||
|
{
|
||
|
|
||
|
class AdapterClient
|
||
|
{
|
||
|
AdapterClient(AdapterClient const &) = delete;
|
||
|
AdapterClient& operator=(AdapterClient const &) = delete;
|
||
|
public:
|
||
|
AdapterClient(
|
||
|
wf_client_callback_fn * callback,
|
||
|
void * user_data,
|
||
|
std::string const & url);
|
||
|
~AdapterClient();
|
||
|
void Connect();
|
||
|
void Disconnect();
|
||
|
void Authenticate();
|
||
|
void AddFileSystem();
|
||
|
private:
|
||
|
class Private;
|
||
|
Private * d;
|
||
|
};
|
||
|
|
||
|
}
|
||
|
|
||
|
#endif
|