- class GCacheItem;
- /// The cache contains data of this type.
- typedef boost::shared_ptr<GCacheItem> GraphicPtr;
-
- /// The status of the loading process
- enum ImageStatus {
- /** The data is in the cache, but no request to display it
- * has been received.
- */
- WaitingToLoad,
- /// The image is in a loadable format and is being loaded.
- Loading,
- /// The image is being converted to a loadable format.
- Converting,
- /// The image has been loaded into memory.
- Loaded,
- /// The image is in memory and is being scaled, rotated, etc.
- ScalingEtc,
- /// All finished. Can display the image.
- Ready,
- ///
- ErrorNoFile,
- ///
- ErrorConverting,
- ///
- ErrorLoading,
- ///
- ErrorGeneratingPixmap,
- /// The data is not in the cache at all!
- ErrorUnknown
- };