44 #ifndef TEXTUREIMAGESTORAGE_HH 45 #define TEXTUREIMAGESTORAGE_HH 58 int addImageFile( QString _filename);
59 int addImage( QImage _image );
61 int getImageID(QString _filename);
63 QImage& getImage(
int _id,
bool* _ok);
65 QString error() {
return errorString_; };
67 void removeImage(
int _id);
70 QMap<int,QImage> imageMap_;
71 QMap< QString,QPair<int,QDateTime> > filenameMap_;
72 QMap<int,QString> reverseFilenameMap_;
73 QMap<int,unsigned int> refCount_;
85 #endif //TEXTUREIMAGESTORAGE_HH