|
|
| VirtualDir (const VirtualDir &)=delete |
| |
|
VirtualDir & | operator= (const VirtualDir &)=delete |
| |
| bool | addFile (const std::string &path, const std::string &name, const std::string &content, const std::string &mimetype) |
| | Add file entry, to be served internally.
|
| |
| bool | addVDir (const std::string &path, FileOps fops) |
| | Add virtual directory entry.
|
| |
|
|
static VirtualDir * | getVirtualDir () |
| | Get hold of the global object.
|
| |
◆ addFile()
| bool UPnPProvider::VirtualDir::addFile |
( |
const std::string & |
path, |
|
|
const std::string & |
name, |
|
|
const std::string & |
content, |
|
|
const std::string & |
mimetype |
|
) |
| |
Add file entry, to be served internally.
- Parameters
-
| path | absolute /-separated parent directory path |
| name | file name |
| content | data content |
| mimetype | MIME type |
◆ addVDir()
| bool UPnPProvider::VirtualDir::addVDir |
( |
const std::string & |
path, |
|
|
FileOps |
fops |
|
) |
| |
Add virtual directory entry.
Any request for a path below this point will be forwarded to
- Parameters
-
| fops. | Only read operations are defined. |
The documentation for this class was generated from the following files:
- /home/dockes/projets/mpdupnp/libupnpp/libupnpp/device/vdir.hxx
- /home/dockes/projets/mpdupnp/libupnpp/libupnpp/device/vdir.cxx