Merge pull request #26220 from 78andyp/blurayfixes
[xbmc.git] / xbmc / utils / RecentlyAddedJob.h
blobf61b60b34823679b255a47964bfcdeee8610fa41
1 /*
2 * Copyright (C) 2005-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
7 */
9 #pragma once
11 #include "Job.h"
13 enum ERecentlyAddedFlag
15 Audio = 0x1,
16 Video = 0x2,
17 Totals = 0x4
20 class CRecentlyAddedJob : public CJob
22 public:
23 explicit CRecentlyAddedJob(int flag);
24 static bool UpdateVideo();
25 static bool UpdateMusic();
26 static bool UpdateTotal();
27 bool DoWork() override;
28 private:
29 int m_flag;