1 /* SPDX-FileCopyrightText: 2012 Jesper K. Pedersen <blackie@kde.org> 2 3 SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 4 */ 5 6 #ifndef BACKGROUNDTASKAMANAGER_PRIORITY_H 7 #define BACKGROUNDTASKAMANAGER_PRIORITY_H 8 namespace BackgroundTaskManager 9 { 10 enum Priority { 11 ForegroundCycleRequest = 0, 12 ForegroundThumbnailRequest = 1, 13 BackgroundTask = 2, // This is only a marker between foreground and background, do not use as a priority. 14 BackgroundVideoInfoRequest = 2, 15 BackgroundVideoThumbnailRequest = 3, 16 BackgroundVideoPreviewRequest = 4, 17 SIZE_OF_PRIORITY_QUEUE // Must be after the last one, and the last one MUST be the highest. 18 }; 19 20 } 21 22 #endif // BACKGROUNDTASKAMANAGER_PRIORITY_H 23 // vi:expandtab:tabstop=4 shiftwidth=4: 24