The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
PluginInstance::JSDirectoryReader Class Reference
Inheritance diagram for PluginInstance::JSDirectoryReader:
Inheritance graph

Public Member Functions

 JSDirectoryReader (pp::Instance *instance)
 
int ReadDirectory (const std::string &path, std::set< std::string > *entries, const pp::CompletionCallback &cc)
 
void HandleResponse (const std::string &response)
 

Public Attributes

pp::Instance * instance_
 
pp::CompletionCallback cc_
 
std::set< std::string > * entries_
 

Detailed Description

Definition at line 208 of file plugin.cc.

Constructor & Destructor Documentation

PluginInstance::JSDirectoryReader::JSDirectoryReader ( pp::Instance *  instance)
inline

Definition at line 214 of file plugin.cc.

Member Function Documentation

void PluginInstance::JSDirectoryReader::HandleResponse ( const std::string response)
inline

Definition at line 223 of file plugin.cc.

References next.

Referenced by PluginInstance::HandleMessage().

int PluginInstance::JSDirectoryReader::ReadDirectory ( const std::string path,
std::set< std::string > *  entries,
const pp::CompletionCallback &  cc 
)
inline

Definition at line 216 of file plugin.cc.

Member Data Documentation

pp::CompletionCallback PluginInstance::JSDirectoryReader::cc_

Definition at line 211 of file plugin.cc.

std::set<std::string>* PluginInstance::JSDirectoryReader::entries_

Definition at line 212 of file plugin.cc.

pp::Instance* PluginInstance::JSDirectoryReader::instance_

Definition at line 210 of file plugin.cc.


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