projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
03f138e
)
Allow notification from disk writer jobs (#2143).
author
Carl Hetherington
<cth@carlh.net>
Sat, 4 Dec 2021 23:25:23 +0000
(
00:25
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 6 Dec 2021 21:42:11 +0000
(22:42 +0100)
src/lib/copy_to_drive_job.h
patch
|
blob
|
history
diff --git
a/src/lib/copy_to_drive_job.h
b/src/lib/copy_to_drive_job.h
index 1a1a99f442f3a6707a074430cc65222fec3f2196..cb91195c26208fecf0b9ea0cd2c647252ea88752 100644
(file)
--- a/
src/lib/copy_to_drive_job.h
+++ b/
src/lib/copy_to_drive_job.h
@@
-27,9
+27,12
@@
class CopyToDriveJob : public Job
public:
CopyToDriveJob (boost::filesystem::path dcp, Drive drive, Nanomsg& nanomsg);
public:
CopyToDriveJob (boost::filesystem::path dcp, Drive drive, Nanomsg& nanomsg);
- std::string name () const;
- std::string json_name () const;
- void run ();
+ std::string name () const override;
+ std::string json_name () const override;
+ void run () override;
+ bool enable_notify () const override {
+ return true;
+ }
private:
void count (boost::filesystem::path dir, uint64_t& total_bytes);
private:
void count (boost::filesystem::path dir, uint64_t& total_bytes);