1 |
// Share |
2 |
// |
3 |
// Douglas Thrift |
4 |
// |
5 |
// $Id$ |
6 |
|
7 |
#ifndef _Share_hpp_ |
8 |
#define _Share_hpp_ |
9 |
|
10 |
#include <menes/platform.hpp> |
11 |
|
12 |
#ifdef MENES_PRAGMA_ONCE |
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 |
|
20 |
class Share : public ext::ReferenceCounted |
21 |
{ |
22 |
private: |
23 |
mutable _P<dbi::Connection> connection; |
24 |
public: |
25 |
api::Address host; |
26 |
cse::String share; |
27 |
api::Path path; |
28 |
Share(const _P<dbi::Connection>& connection, const api::Address& host, const cse::String& share); |
29 |
~Share(); |
30 |
}; |
31 |
|
32 |
#endif//_Share_hpp_ |