50 #ifndef TEXTUREIMAGESTORAGE_HH 51 #define TEXTUREIMAGESTORAGE_HH 64 int addImageFile( QString _filename);
65 int addImage( QImage _image );
67 int getImageID(QString _filename);
69 QImage& getImage(
int _id,
bool* _ok);
71 QString error() {
return errorString_; };
73 void removeImage(
int _id);
76 QMap<int,QImage> imageMap_;
77 QMap< QString,QPair<int,QDateTime> > filenameMap_;
78 QMap<int,QString> reverseFilenameMap_;
79 QMap<int,unsigned int> refCount_;
91 #endif //TEXTUREIMAGESTORAGE_HH