15 |
|
|
16 |
|
#include <menes/api/socket.hpp> |
17 |
|
#include <menes/api/path.hpp> |
18 |
< |
#include <menes/dbi/connection.hpp> |
18 |
> |
|
19 |
> |
#include "Connector.hpp" |
20 |
|
|
21 |
|
class Share : public ext::ReferenceCounted |
22 |
|
{ |
23 |
|
private: |
24 |
< |
mutable _R<dbi::Connection> connection; |
24 |
> |
mutable _R<Connector> connector; |
25 |
|
public: |
26 |
|
static api::Path shares; |
27 |
|
api::Address host; |
28 |
|
cse::String share; |
29 |
|
api::Path path; |
30 |
< |
Share(const _R<dbi::Connection>& connection, const api::Address& host, const cse::String& share); |
30 |
> |
Share(const _R<Connector>& connector, const api::Address& host, const cse::String& share); |
31 |
|
~Share(); |
32 |
|
}; |
33 |
|
|