imagehandling_plat/thumbnailmanager_api/inc/thumbnailmanager_qt.h
changeset 22 a67f74060682
parent 17 ffa62e555b02
child 25 cb86b71cae0a
--- a/imagehandling_plat/thumbnailmanager_api/inc/thumbnailmanager_qt.h	Fri May 14 16:10:12 2010 +0300
+++ b/imagehandling_plat/thumbnailmanager_api/inc/thumbnailmanager_qt.h	Thu May 27 13:11:20 2010 +0300
@@ -18,15 +18,18 @@
 #ifndef THUMBNAILMANAGER_QT_H
 #define THUMBNAILMANAGER_QT_H
 
-#include <QObject>
-#include <qpixmap>
-#include <QImage>
+#include <qobject.h>
+#include <qpixmap.h>
+#include <qimage.h>
+
 #include <QtGlobal>
 
-class ThumbnailManagerPrivate;
 class QString;
 class QSize;
 
+class ThumbnailManagerPrivate;
+class TestThumbnailManager;
+
 #ifdef TNMQT_DLL
 #  define TNM_EXPORT Q_DECL_EXPORT
 #else
@@ -300,7 +303,7 @@
      * @param id         Request ID for the operation
      * @param errorCode  error code
      */
-    void thumbnailReady( QPixmap , void * , int , int );    
+    TNM_EXPORT void thumbnailReady( QPixmap , void * , int , int );    
 
     /**
      * Final thumbnail bitmap generation or loading is complete.
@@ -310,7 +313,7 @@
      * @param id         Request ID for the operation
      * @param errorCode  error code
      */
-    void thumbnailReady( QImage , void * , int , int );    
+    TNM_EXPORT void thumbnailReady( QImage , void * , int , int );    
 
 protected:
     
@@ -320,6 +323,9 @@
 
 private:
     ThumbnailManagerPrivate* d;
+    
+    friend class ThumbnailManagerPrivate;
+    friend class TestThumbnailManager;
 };
 
 #endif // THUMBNAILMANAGER_QT