summaryrefslogtreecommitdiff
path: root/Plugins/skins/SkinLib/V8Script.h
diff options
context:
space:
mode:
authorpescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7>2009-01-03 05:12:30 +0000
committerpescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7>2009-01-03 05:12:30 +0000
commit05f6cf3f7788f8bfe5ee589a9f27a89217c67989 (patch)
treea39f988ad4391eb4cb4d62c5643c01cae5af13e3 /Plugins/skins/SkinLib/V8Script.h
parentbb6784e0e1a385cdd20b41d3254093e89a210332 (diff)
skins: It's ALIVE!
git-svn-id: http://pescuma.googlecode.com/svn/trunk/Miranda@121 c086bb3d-8645-0410-b8da-73a8550f86e7
Diffstat (limited to 'Plugins/skins/SkinLib/V8Script.h')
-rw-r--r--Plugins/skins/SkinLib/V8Script.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Plugins/skins/SkinLib/V8Script.h b/Plugins/skins/SkinLib/V8Script.h
index 2611f47..8ff7cb5 100644
--- a/Plugins/skins/SkinLib/V8Script.h
+++ b/Plugins/skins/SkinLib/V8Script.h
@@ -2,6 +2,7 @@
# define __V8_SCRIPT_H__
#include <v8.h>
+#include <utility>
#include "V8Wrappers.h"
typedef void (*ExceptionCallback)(void *param, const TCHAR *err);
@@ -18,7 +19,7 @@ public:
bool isValid();
- SkinOptions * createOptions(Dialog *dlg);
+ std::pair<SkinOptions *,DialogState *> configure(Dialog *dlg);
bool run(DialogState * state, SkinOptions *opts);
@@ -32,7 +33,7 @@ private:
ExceptionCallback exceptionCallback;
void *exceptionCallbackParam;
- v8::Handle<v8::Function> getOptionsFunction(Dialog *dlg);
+ v8::Handle<v8::Function> getConfigureFunction(Dialog *dlg);
void reportException(v8::TryCatch *try_catch);
};