[Windows] Fix driver version detection of AMD RDNA+ GPU on Windows 10
[xbmc.git] / xbmc / music / jobs / MusicLibraryExportJob.h
blob4dc759ed24ae9c9c340fb35b3814cea9f21d3eed
1 /*
2 * Copyright (C) 2017-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 "MusicLibraryProgressJob.h"
12 #include "settings/LibExportSettings.h"
14 class CGUIDialogProgress;
16 /*!
17 \brief Music library job implementation for exporting the music library.
19 class CMusicLibraryExportJob : public CMusicLibraryProgressJob
21 public:
22 /*!
23 \brief Creates a new music library export job for the given paths.
25 \param[in] settings Library export settings
26 \param[in] progressDialog Progress dialog to be used to display the export progress
28 CMusicLibraryExportJob(const CLibExportSettings& settings, CGUIDialogProgress* progressDialog);
30 ~CMusicLibraryExportJob() override;
32 // specialization of CJob
33 const char *GetType() const override { return "MusicLibraryExportJob"; }
34 bool operator==(const CJob* job) const override;
36 protected:
37 // implementation of CMusicLibraryJob
38 bool Work(CMusicDatabase &db) override;
40 private:
41 CLibExportSettings m_settings;