qlibrary_p.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef QLIBRARY_P_H
00022 #define QLIBRARY_P_H
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036 #include "qlibrary.h"
00037
00038
00039
00040
00041 #include "qwindowdefs.h"
00042
00043 #include "qobject.h"
00044
00045
00046
00047 class QTimer;
00048 class QLibrary;
00049 class QLibraryInterface;
00050
00051
00052
00053
00054
00055
00056 class QLibraryPrivate : public QObject
00057 {
00058 Q_OBJECT
00059 public:
00060 QLibraryPrivate( QLibrary *lib );
00061 ~QLibraryPrivate();
00062
00063 void startTimer();
00064 void killTimer();
00065
00066 #ifdef Q_WS_WIN
00067 HINSTANCE pHnd;
00068 #else
00069 void *pHnd;
00070 #endif
00071
00072 QLibraryInterface *libIface;
00073
00074 bool loadLibrary();
00075 bool freeLibrary();
00076 void *resolveSymbol( const char * );
00077
00078 private slots:
00079 void tryUnload();
00080
00081 private:
00082 QTimer *unloadTimer;
00083 QLibrary *library;
00084 };
00085
00086 #else // QT_LITE_COMPONENT
00087 class QLibraryPrivate
00088 {
00089 public:
00090 QLibraryPrivate( QLibrary *lib );
00091
00092 void startTimer();
00093 void killTimer();
00094
00095 #ifdef Q_WS_WIN
00096 HINSTANCE pHnd;
00097 #else
00098 void *pHnd;
00099 #endif
00100 QLibraryInterface *libIface;
00101
00102 bool loadLibrary();
00103 bool freeLibrary();
00104 void *resolveSymbol( const char * );
00105
00106 private:
00107 QLibrary *library;
00108 };
00109
00110
00111
00112
00113 #endif // QLIBRARY_P_H
This file is part of the documentation for OPIE Version 1.5.5.