11 #include "video/jobs/VideoLibraryJob.h" 32 const char *
GetType()
const override {
return "CVideoLibraryMarkWatchedJob"; }
33 bool operator==(
const CJob* job)
const override;
39 std::shared_ptr<CFileItem> m_item;
Base class for jobs that are executed asynchronously.
Definition: Job.h:109
CVideoLibraryMarkWatchedJob(const std::shared_ptr< CFileItem > &item, bool mark)
Creates a new video library scanning job.
Definition: VideoLibraryMarkWatchedJob.cpp:28
Basic implementation/interface of a CJob which interacts with the video database. ...
Definition: VideoLibraryJob.h:19
Video library job implementation for marking items as watched/unwatched.
Definition: VideoLibraryMarkWatchedJob.h:20
Definition: VideoDatabase.h:419
bool Work(CVideoDatabase &db) override
Worker method to be implemented by an actual implementation.
Definition: VideoLibraryMarkWatchedJob.cpp:47
const char * GetType() const override
Function that returns the type of job.
Definition: VideoLibraryMarkWatchedJob.h:32
Represents a file on a share.
Definition: FileItem.h:102