blob: 278072b2daf81a5d1e1d1abf20c508ce0344f529 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/*
* Copyright (C) 2014-2018 Team Kodi
* This file is part of Kodi - https://kodi.tv
*
* SPDX-License-Identifier: GPL-2.0-or-later
* See LICENSES/README.md for more information.
*/
#pragma once
#include "utils/ProgressJob.h"
#include "video/jobs/VideoLibraryJob.h"
/*!
\brief Combined base implementation of a video library job with a progress bar.
*/
class CVideoLibraryProgressJob : public CProgressJob, public CVideoLibraryJob
{
public:
~CVideoLibraryProgressJob() override;
// implementation of CJob
bool DoWork() override;
const char *GetType() const override { return "CVideoLibraryProgressJob"; }
bool operator==(const CJob* job) const override { return false; }
protected:
explicit CVideoLibraryProgressJob(CGUIDialogProgressBarHandle* progressBar);
};
|