ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

#include <filespagehandler.h>

Inheritance diagram for Networking::FilesPageHandler:
Collaboration diagram for Networking::FilesPageHandler:

List of all members.

Public Member Functions

 FilesPageHandler ()
virtual ~FilesPageHandler ()
virtual void handle (Client &client)

Private Types

enum  ItemType {

Private Member Functions

bool listDirectory (Common::String path, Common::String &content, const Common::String &itemTemplate)
 Lists the directory <path>.
void addItem (Common::String &content, const Common::String &itemTemplate, ItemType itemType, Common::String path, Common::String name, Common::String size="") const
 Helper method for adding items into the files list.

Static Private Member Functions

static ItemType detectType (bool isDirectory, const Common::String &name)
 Helper method for detecting items' type.

Detailed Description

Definition at line 30 of file filespagehandler.h.

Member Enumeration Documentation


Definition at line 31 of file filespagehandler.h.

Constructor & Destructor Documentation

Networking::FilesPageHandler::FilesPageHandler (  ) 

Definition at line 34 of file filespagehandler.cpp.

Networking::FilesPageHandler::~FilesPageHandler (  )  [virtual]

Definition at line 36 of file filespagehandler.cpp.

Member Function Documentation

void Networking::FilesPageHandler::addItem ( Common::String content,
const Common::String itemTemplate,
ItemType  itemType,
Common::String  path,
Common::String  name,
Common::String  size = "" 
) const [private]

Helper method for adding items into the files list.

Definition at line 151 of file filespagehandler.cpp.

FilesPageHandler::ItemType Networking::FilesPageHandler::detectType ( bool  isDirectory,
const Common::String name 
) [static, private]

Helper method for detecting items' type.

Definition at line 139 of file filespagehandler.cpp.

void Networking::FilesPageHandler::handle ( Client client  )  [virtual]


Implements Networking::FilesBaseHandler.

Definition at line 182 of file filespagehandler.cpp.

bool Networking::FilesPageHandler::listDirectory ( Common::String  path,
Common::String content,
const Common::String itemTemplate 
) [private]

Lists the directory <path>.

Returns true on success.

Definition at line 78 of file filespagehandler.cpp.

The documentation for this class was generated from the following files:

Generated on Sat Sep 26 2020 05:03:49 for ResidualVM by doxygen 1.7.1
curved edge   curved edge