File indexing completed on 2024-05-05 08:28:05
0001 /* SPDX-FileCopyrightText: 2012 Jesper K. Pedersen <blackie@kde.org> 0002 0003 SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0004 */ 0005 0006 #ifndef BACKGROUNDTASKAMANAGER_PRIORITY_H 0007 #define BACKGROUNDTASKAMANAGER_PRIORITY_H 0008 namespace BackgroundTaskManager 0009 { 0010 enum Priority { 0011 ForegroundCycleRequest = 0, 0012 ForegroundThumbnailRequest = 1, 0013 BackgroundTask = 2, // This is only a marker between foreground and background, do not use as a priority. 0014 BackgroundVideoInfoRequest = 2, 0015 BackgroundVideoThumbnailRequest = 3, 0016 BackgroundVideoPreviewRequest = 4, 0017 SIZE_OF_PRIORITY_QUEUE // Must be after the last one, and the last one MUST be the highest. 0018 }; 0019 0020 } 0021 0022 #endif // BACKGROUNDTASKAMANAGER_PRIORITY_H 0023 // vi:expandtab:tabstop=4 shiftwidth=4: