ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/DecentralizedMedia/Share.hpp
Revision: 541
Committed: 2005-07-02T18:26:58-07:00 (19 years, 11 months ago) by douglas
File size: 553 byte(s)
Log Message:
Arrrrrrr!

File Contents

# User Rev Content
1 douglas 514 // 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 douglas 534 #include <menes-api/socket.hpp>
17 douglas 514 #include <menes-api/path.hpp>
18     #include <menes-dbi/connection.hpp>
19    
20     class Share : public ext::ReferenceCounted
21     {
22     private:
23 douglas 541 mutable _R<dbi::Connection> connection;
24 douglas 514 public:
25 douglas 534 api::Address host;
26     cse::String share;
27 douglas 514 api::Path path;
28 douglas 541 Share(const _R<dbi::Connection>& connection, const api::Address& host, const cse::String& share);
29 douglas 534 ~Share();
30 douglas 514 };
31    
32     #endif//_Share_hpp_

Properties

Name Value
svn:eol-style native
svn:keywords Id