00001 /* 00002 * @(#)JQToolWindowBridge.h 0.2.0 / 2007-11-03 00003 * 00004 * Copyright (c) 2007, ETF and contributors. All rights reserved. 00005 * 00006 * This software is licensed under the LGPL, version 2.1, license. 00007 * A copy of the license is included in the file LICENSE-LGPL.txt. 00008 */ 00009 #ifndef JQTOOLWINDOWBRIDGE_H 00010 #define JQTOOLWINDOWBRIDGE_H 00011 00012 #include "JavaQxQSwing.h" 00013 00014 #include "JQWindowBridge.h" 00015 00016 /*^**************************************************************************^*/ 00017 /*- JQToolWindowBridge Class. -*/ 00018 /*^**************************************************************************^*/ 00019 00026 class JAVAQX_EXPORT JQToolWindowBridge : public JQWindowBridge 00027 { 00028 Q_OBJECT 00029 protected: 00030 JQToolWindowBridge(JNIEnv *env, jobject obj); 00031 public: // native calls 00032 static jlong newInstance(JNIEnv *env, jobject obj); 00033 }; 00034 00035 /*^**************************************************************************^*/ 00036 /*- Macro Definition. -*/ 00037 /*^**************************************************************************^*/ 00038 00039 #define jqToolWindowBridge (reinterpret_cast<JQToolWindowBridge *>(bridge)) 00040 00041 #endif //JQTOOLWINDOWBRIDGE_H 00042 00043 /*^***************************************************************************** 00044 File History: 00045 00046 - 2007-11-03 18:14:24 Slobodan 00047 Initial version 00048 00049 *****************************************************************************^*/