OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * This file is part of the Adblock Plus, |
| 3 * Copyright (C) 2006-2012 Eyeo GmbH |
| 4 * |
| 5 * Adblock Plus is free software: you can redistribute it and/or modify |
| 6 * it under the terms of the GNU General Public License version 3 as |
| 7 * published by the Free Software Foundation. |
| 8 * |
| 9 * Adblock Plus is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 * GNU General Public License for more details. |
| 13 * |
| 14 * You should have received a copy of the GNU General Public License |
| 15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
| 16 */ |
| 17 |
| 18 #include <v8.h> |
| 19 #include <jni.h> |
| 20 |
| 21 extern JNIEnv* jniEnv; |
| 22 extern jobject jniCallback; |
| 23 |
| 24 extern v8::Handle<v8::Value> loadImpl(const v8::Arguments& args); |
| 25 extern v8::Handle<v8::Value> printImpl(const v8::Arguments& args); |
| 26 extern v8::Handle<v8::Value> setStatusImpl(const v8::Arguments& args); |
| 27 extern v8::Handle<v8::Value> canAutoupdateImpl(const v8::Arguments& args); |
| 28 extern v8::Handle<v8::Value> showToastImpl(const v8::Arguments& args); |
| 29 |
| 30 extern v8::Handle<v8::Value> fileExistsImpl(const v8::Arguments& args); |
| 31 extern v8::Handle<v8::Value> fileLastModifiedImpl(const v8::Arguments& args); |
| 32 extern v8::Handle<v8::Value> fileRemoveImpl(const v8::Arguments& args); |
| 33 extern v8::Handle<v8::Value> fileRenameImpl(const v8::Arguments& args); |
| 34 extern v8::Handle<v8::Value> fileReadImpl(const v8::Arguments& args); |
| 35 extern v8::Handle<v8::Value> fileWriteImpl(const v8::Arguments& args); |
| 36 |
| 37 extern v8::Handle<v8::Value> httpSendImpl(const v8::Arguments& args); |
| 38 |
| 39 extern v8::Handle<v8::Value> setTimeoutImpl(const v8::Arguments& args); |
| 40 extern long RunNextCallback(v8::Handle<v8::Context> context); |
| 41 extern void ClearQueue(); |
OLD | NEW |