File indexing completed on 2024-05-05 04:22:00
0001 /* SPDX-FileCopyrightText: 2003-2011 Jesper K. Pedersen <blackie@kde.org> 0002 0003 SPDX-License-Identifier: GPL-2.0-or-later 0004 */ 0005 0006 #ifndef IMAGEMANAGER_ENUMS_H 0007 #define IMAGEMANAGER_ENUMS_H 0008 0009 namespace ImageManager 0010 { 0011 /** @short Priority of an image request 0012 * 0013 * The higher the priority, the sooner the image is expected to be decoded 0014 * */ 0015 enum Priority { 0016 BuildThumbnails, //< @short Requests generated through the "Rebuild Thumbnails" command 0017 BuildScopeThumbnails, //< @short thumbnails in current search scope to be rebuidl 0018 ThumbnailInvisible, //< @short Thumbnails in current search scope, but invisible 0019 ViewerPreload, // < @short Image that will be displayed later 0020 BatchTask, /**< @short Requests like resizing images for HTML pages 0021 * 0022 * As they are requested by user, they are expected to finish 0023 * sooner than invisible thumbnails */ 0024 ThumbnailVisible, /**< @short Thumbnail visible on screen right now (might get invalidated later) */ 0025 Viewer /**< @short Image is visible in the viewer right now */, 0026 LastPriority /**< @short Boundary for list of queues */ 0027 }; 0028 0029 enum ThumbnailBuildStart { StartNow, 0030 StartDelayed }; 0031 0032 enum StopAction { StopAll, 0033 StopOnlyNonPriorityLoads }; 0034 0035 } 0036 0037 #endif // IMAGEMANAGER_ENUMS_H 0038 // vi:expandtab:tabstop=4 shiftwidth=4: