kodi
MusicLibraryProgressJob.h
1 /*
2  * Copyright (C) 2017-2018 Team Kodi
3  * This file is part of Kodi - https://kodi.tv
4  *
5  * SPDX-License-Identifier: GPL-2.0-or-later
6  * See LICENSES/README.md for more information.
7  */
8 
9 #pragma once
10 
11 #include "music/jobs/MusicLibraryJob.h"
12 #include "utils/ProgressJob.h"
13 
18 {
19 public:
20  ~CMusicLibraryProgressJob() override;
21 
22  // implementation of CJob
23  bool DoWork() override;
24  const char *GetType() const override { return "CMusicLibraryProgressJob"; }
25  bool operator==(const CJob* job) const override { return false; }
26 
27 protected:
29 };
Base class for jobs that are executed asynchronously.
Definition: Job.h:109
bool DoWork() override
Main workhorse function of CJob instances.
Definition: MusicLibraryProgressJob.cpp:17
Basic implementation/interface of a CJob which interacts with the music database. ...
Definition: MusicLibraryJob.h:19
Combined base implementation of a music library job with a progress bar.
Definition: MusicLibraryProgressJob.h:17
Definition: GUIDialogExtendedProgressBar.h:16
Basic implementation of a CJob with a progress bar to indicate the progress of the job being processe...
Definition: ProgressJob.h:22
const char * GetType() const override
Function that returns the type of job.
Definition: MusicLibraryProgressJob.h:24