Panda3D
 All Classes Functions Variables Enumerations
virtualFileMountHTTP.I
1 // Filename: virtualFileMountHTTP.I
2 // Created by: drose (30Oct08)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 
16 ////////////////////////////////////////////////////////////////////
17 // Function: VirtualFileMountHTTP::get_http_client
18 // Access: Published
19 // Description: Returns the HTTPClient object that services this
20 // mount point.
21 ////////////////////////////////////////////////////////////////////
22 INLINE HTTPClient *VirtualFileMountHTTP::
23 get_http_client() const {
24  return _http;
25 }
26 
27 ////////////////////////////////////////////////////////////////////
28 // Function: VirtualFileMountHTTP::get_root
29 // Access: Published
30 // Description: Returns the URL that represents the root of this
31 // mount point.
32 ////////////////////////////////////////////////////////////////////
33 INLINE const URLSpec &VirtualFileMountHTTP::
34 get_root() const {
35  return _root;
36 }
A container for a URL, e.g.
Definition: urlSpec.h:29