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.
11 #include "MusicLibraryProgressJob.h"
12 #include "settings/LibExportSettings.h"
14 class CGUIDialogProgress
;
17 \brief Music library job implementation for exporting the music library.
19 class CMusicLibraryExportJob
: public CMusicLibraryProgressJob
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
;
37 // implementation of CMusicLibraryJob
38 bool Work(CMusicDatabase
&db
) override
;
41 CLibExportSettings m_settings
;