13 |
|
#pragma once |
14 |
|
#endif |
15 |
|
|
16 |
+ |
#include <menes-api/socket.hpp> |
17 |
|
#include <menes-api/path.hpp> |
18 |
|
#include <menes-dbi/connection.hpp> |
19 |
|
|
22 |
|
private: |
23 |
|
mutable _H<dbi::Connection> connection; |
24 |
|
public: |
25 |
< |
ext::String host, share; |
25 |
> |
api::Address host; |
26 |
> |
cse::String share; |
27 |
|
api::Path path; |
28 |
< |
Share(const _H<dbi::Connection>& connection, const ext::String& host, const ext::String& share); |
29 |
< |
~Share() { Unmount(); } |
28 |
< |
void Mount() const; |
29 |
< |
void Unmount() const; |
28 |
> |
Share(const _H<dbi::Connection>& connection, const api::Address& host, const cse::String& share); |
29 |
> |
~Share(); |
30 |
|
}; |
31 |
|
|
32 |
|
#endif//_Share_hpp_ |