From bb22e7b2a0af67cc65ce5179917b20e5977ed4ef Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Wed, 11 Jul 2012 17:09:09 +0000 Subject: MyDetails reverted to older version that doesn't use Skins plugin git-svn-id: http://svn.miranda-ng.org/main/trunk@905 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Skins/SkinLib/V8Script.h | 46 ---------------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 plugins/Skins/SkinLib/V8Script.h (limited to 'plugins/Skins/SkinLib/V8Script.h') diff --git a/plugins/Skins/SkinLib/V8Script.h b/plugins/Skins/SkinLib/V8Script.h deleted file mode 100644 index b7e1f3f2a6..0000000000 --- a/plugins/Skins/SkinLib/V8Script.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef __V8_SCRIPT_H__ -# define __V8_SCRIPT_H__ - -#include -#include -#include "V8Wrappers.h" - - -typedef void (*ExceptionCallback)(void *param, const TCHAR *err); - - -class V8Script -{ -public: - static void initializeEngine(); - - - V8Script(); - ~V8Script(); - - bool compile(const TCHAR *source, Dialog *dlg); - void dispose(); - - bool isValid(); - - std::pair configure(Dialog *dlg); - - bool run(DialogState * state, SkinOptions *opts, DialogInfo *info); - - void setExceptionCallback(ExceptionCallback cb, void *param = NULL); - -private: - v8::Persistent context; - v8::Persistent configureFunction; - v8::Persistent drawFunction; - - ExceptionCallback exceptionCallback; - void *exceptionCallbackParam; - - void reportException(v8::TryCatch *try_catch); - void fillWrappers(DialogState *state, SkinOptions *opts, DialogInfo *info, bool configure); -}; - - - -#endif // __V8_SCRIPT_H__ -- cgit v1.2.3