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:
18
src/TaskTryCatch.h
Normal file
18
src/TaskTryCatch.h
Normal file
@ -0,0 +1,18 @@
|
||||
#ifndef INCLUDED_TaskTryCatch
|
||||
#define INCLUDED_TaskTryCatch
|
||||
|
||||
#include <v8.h>
|
||||
|
||||
class Task;
|
||||
|
||||
class TaskTryCatch {
|
||||
public:
|
||||
TaskTryCatch(Task* task);
|
||||
~TaskTryCatch();
|
||||
|
||||
private:
|
||||
v8::TryCatch _tryCatch;
|
||||
static const char* toString(const v8::String::Utf8Value& value);
|
||||
};
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user