home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / qt3_emx.zip / include / private / qcomlibrary_p.h < prev    next >
C/C++ Source or Header  |  2001-10-05  |  784b  |  39 lines

  1. #ifndef QUCOMLIBRARY_H
  2. #define QUCOMLIBRARY_H
  3.  
  4. #ifndef QT_H
  5. #include "qcom_p.h"
  6. #include "qlibrary.h"
  7. #endif // QT_H
  8.  
  9. //
  10. //  W A R N I N G
  11. //  -------------
  12. //
  13. // This file is not part of the Qt API.  It exists for the convenience
  14. // of a number of Qt sources files.  This header file may change from
  15. // version to version without notice, or even be removed.
  16. //
  17. // We mean it.
  18. //
  19. //
  20. #ifndef QT_NO_COMPONENT
  21. class Q_EXPORT QComLibrary : public QLibrary
  22. {
  23. public:
  24.     QComLibrary( const QString &filename );
  25.     ~QComLibrary();
  26.  
  27.     bool unload();
  28.     QRESULT queryInterface( const QUuid &iid, QUnknownInterface **iface );
  29.  
  30. private:
  31.     void createInstanceInternal();
  32.  
  33.     QUnknownInterface *entry;
  34.     QLibraryInterface *libiface;
  35.  
  36. };
  37. #endif //QT_NO_COMPONENT
  38. #endif // QUCOMLIBRARY_H
  39.