#include <GlobalJObject.h>
Public Member Functions | |
GlobalJObject (JNIEnv *env, jobject obj) | |
Constructs new GlobalJObject object. | |
virtual | ~GlobalJObject () |
Destructs GlobalJObject object. | |
jobject | ref () const |
Returns global reference. | |
Protected Attributes | |
JNIEnv * | m_env |
jobject | m_obj |
@(#)GlobalJObject.h 0.1.0 / 2007-08-21
Copyright (c) 2007, ETF and contributors. All rights reserved.
This software is licensed under the LGPL, version 2.1, license. A copy of the license is included in the file LICENSE-LGPL.txt.
GlobalJObject::GlobalJObject | ( | JNIEnv * | env, | |
jobject | obj | |||
) |
Constructs new GlobalJObject object.
@(#)GlobalJObject.cpp 0.1.0 / 2007-08-21
Copyright (c) 2007, ETF and contributors. All rights reserved.
This software is licensed under the LGPL, version 2.1, license. A copy of the license is included in the file LICENSE-LGPL.txt.
env | the JNIEnv pointer | |
obj | the Java object |
jobject GlobalJObject::ref | ( | ) | const [inline] |
Returns global reference.