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.
12 #include "video/jobs/VideoLibraryJob.h"
17 \brief Video library job implementation for resetting a resume point.
19 class CVideoLibraryResetResumePointJob
: public CVideoLibraryJob
23 \brief Creates a new job for resetting a given item's resume point.
25 \param[in] item Item for that the resume point shall be reset.
27 CVideoLibraryResetResumePointJob(const std::shared_ptr
<CFileItem
>& item
);
28 ~CVideoLibraryResetResumePointJob() override
= default;
30 const char *GetType() const override
{ return "CVideoLibraryResetResumePointJob"; }
31 bool operator==(const CJob
* job
) const override
;
34 bool Work(CVideoDatabase
&db
) override
;
37 std::shared_ptr
<CFileItem
> m_item
;