forked from cory/tildefriends
sandboxos => tildefriends
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3157 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
19
src/File.h
Normal file
19
src/File.h
Normal file
@ -0,0 +1,19 @@
|
||||
#ifndef INCLUDED_File
|
||||
#define INCLUDED_File
|
||||
|
||||
#include <v8.h>
|
||||
|
||||
class File {
|
||||
public:
|
||||
static void configure(v8::Isolate* isolate, v8::Handle<v8::ObjectTemplate> global);
|
||||
|
||||
private:
|
||||
static void readFile(const v8::FunctionCallbackInfo<v8::Value>& args);
|
||||
static void writeFile(const v8::FunctionCallbackInfo<v8::Value>& args);
|
||||
static void readDirectory(const v8::FunctionCallbackInfo<v8::Value>& args);
|
||||
static void makeDirectory(const v8::FunctionCallbackInfo<v8::Value>& args);
|
||||
static void unlinkFile(const v8::FunctionCallbackInfo<v8::Value>& args);
|
||||
static void renameFile(const v8::FunctionCallbackInfo<v8::Value>& args);
|
||||
};
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user