00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef JQFILECHOOSERBRIDGE_H
00010 #define JQFILECHOOSERBRIDGE_H
00011
00012 #include "JavaQxQSwing.h"
00013
00014
00015
00016
00017
00024 class JAVAQX_EXPORT JQFileChooserBridge
00025 {
00026 public:
00027 static jstring getExistingDirectoryName(JNIEnv *env, jclass cls,
00028 jlong parentBridge, jstring caption,
00029 jstring directory);
00030 static jstring getOpenFileName(JNIEnv *env, jclass cls, jlong parentBridge,
00031 jstring caption, jstring directory,
00032 jstring filter, jstring selectedFilter);
00033 static jstring getSaveFileName(JNIEnv *env, jclass cls, jlong parentBridge,
00034 jstring caption, jstring directory,
00035 jstring filter, jstring selectedFilter);
00036 };
00037
00038
00039
00040
00041
00042 #define jqFileChooserBridge (reinterpret_cast<JQFileChooserBridge *>(bridge))
00043
00044 #endif //JQFILECHOOSERBRIDGE_H
00045
00046
00047
00048
00049
00050
00051
00052