2000-08-10 01:33:35 +00:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
|
|
|
*
|
|
|
|
* The contents of this file are subject to the Mozilla Public
|
|
|
|
* License Version 1.1 (the "License"); you may not use this file
|
|
|
|
* except in compliance with the License. You may obtain a copy of
|
|
|
|
* the License at http://www.mozilla.org/MPL/
|
|
|
|
*
|
|
|
|
* Software distributed under the License is distributed on an "AS
|
|
|
|
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
|
|
* implied. See the License for the specific language governing
|
|
|
|
* rights and limitations under the License.
|
|
|
|
*
|
|
|
|
* The Original Code is RaptorCanvas.
|
|
|
|
*
|
|
|
|
* The Initial Developer of the Original Code is Kirk Baker and
|
|
|
|
* Ian Wilkinson. Portions created by Kirk Baker and Ian Wilkinson are
|
|
|
|
* Copyright (C) 1999 Kirk Baker and Ian Wilkinson. All
|
|
|
|
* Rights Reserved.
|
|
|
|
*
|
|
|
|
* Contributor(s): Glenn Barney <gbarney@uiuc.edu>
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* CurrentPageImpl.cpp
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "CurrentPageImpl.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL Java_org_mozilla_webclient_wrapper_1native_CurrentPageImpl_nativeCopyCurrentSelectionToSystemClipboard
|
|
|
|
(JNIEnv *env, jobject obj, jint webShellPtr)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: org_mozilla_webclient_wrapper_0005fnative_CurrentPageImpl
|
|
|
|
* Method: nativeFindInPage
|
|
|
|
* Signature: (Ljava/lang/String;ZZ)V
|
|
|
|
*/
|
|
|
|
JNIEXPORT void JNICALL Java_org_mozilla_webclient_wrapper_1native_CurrentPageImpl_nativeFindInPage
|
|
|
|
(JNIEnv *env, jobject obj, jint webShellPtr, jstring searchString, jboolean forward, jboolean matchCase)
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: org_mozilla_webclient_wrapper_0005fnative_CurrentPageImpl
|
|
|
|
* Method: nativeFindNextInPage
|
|
|
|
* Signature: (Z)V
|
|
|
|
*/
|
|
|
|
JNIEXPORT void JNICALL Java_org_mozilla_webclient_wrapper_1native_CurrentPageImpl_nativeFindNextInPage
|
|
|
|
(JNIEnv *env, jobject obj, jint webShellPtr, jboolean forward)
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: org_mozilla_webclient_wrapper_0005fnative_CurrentPageImpl
|
|
|
|
* Method: nativeGetCurrentURL
|
|
|
|
* Signature: ()Ljava/lang/String;
|
|
|
|
*/
|
|
|
|
JNIEXPORT jstring JNICALL Java_org_mozilla_webclient_wrapper_1native_CurrentPageImpl_nativeGetCurrentURL
|
|
|
|
(JNIEnv *env, jobject obj, jint webShellPtr)
|
|
|
|
{
|
|
|
|
jstring urlString = 0;
|
|
|
|
|
|
|
|
return urlString;
|
|
|
|
}
|
|
|
|
|
2000-08-17 19:54:43 +00:00
|
|
|
JNIEXPORT jobject JNICALL Java_org_mozilla_webclient_wrapper_1native_CurrentPageImpl_nativeGetDOM
|
|
|
|
(JNIEnv *, jobject, jint)
|
|
|
|
{
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2000-08-10 01:33:35 +00:00
|
|
|
/*
|
|
|
|
* Class: org_mozilla_webclient_wrapper_0005fnative_CurrentPageImpl
|
|
|
|
* Method: nativeGetSource
|
|
|
|
* Signature: ()Ljava/lang/String;
|
|
|
|
*/
|
|
|
|
JNIEXPORT jstring JNICALL Java_org_mozilla_webclient_wrapper_1native_CurrentPageImpl_nativeGetSource
|
|
|
|
(JNIEnv * env, jobject jobj)
|
|
|
|
{
|
|
|
|
|
|
|
|
jstring result = 0;
|
|
|
|
return result;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: org_mozilla_webclient_wrapper_0005fnative_CurrentPageImpl
|
|
|
|
* Method: nativeGetSourceBytes
|
|
|
|
* Signature: ()[B
|
|
|
|
*/
|
|
|
|
JNIEXPORT jbyteArray JNICALL Java_org_mozilla_webclient_wrapper_1native_CurrentPageImpl_nativeGetSourceBytes
|
|
|
|
(JNIEnv * env, jobject jobj, jint webShellPtr, jboolean mode)
|
|
|
|
{
|
|
|
|
jbyteArray result = 0;
|
|
|
|
return result;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: org_mozilla_webclient_wrapper_0005fnative_CurrentPageImpl
|
|
|
|
* Method: nativeResetFind
|
|
|
|
* Signature: ()V
|
|
|
|
*/
|
|
|
|
JNIEXPORT void JNICALL Java_org_mozilla_webclient_wrapper_1native_CurrentPageImpl_nativeResetFind
|
|
|
|
(JNIEnv * env, jobject obj, jint webShellPtr)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: org_mozilla_webclient_wrapper_0005fnative_CurrentPageImpl
|
|
|
|
* Method: nativeSelectAll
|
|
|
|
* Signature: ()V
|
|
|
|
*/
|
|
|
|
JNIEXPORT void JNICALL Java_org_mozilla_webclient_wrapper_1native_CurrentPageImpl_nativeSelectAll
|
|
|
|
(JNIEnv * env, jobject obj, jint webShellPtr)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|