projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
C++11 tweaks.
[dcpomatic.git]
/
src
/
lib
/
transcode_job.h
diff --git
a/src/lib/transcode_job.h
b/src/lib/transcode_job.h
index 47611525a30fdc4c536ab827282f9e47892afcba..88f41d6554cf76fb19b28fb8c6692d42503c4c2b 100644
(file)
--- a/
src/lib/transcode_job.h
+++ b/
src/lib/transcode_job.h
@@
-1,5
+1,5
@@
/*
/*
- Copyright (C) 2012-201
5
Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2012-201
9
Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
This file is part of DCP-o-matic.
@@
-23,7
+23,6
@@
*/
#include "job.h"
*/
#include "job.h"
-#include <boost/shared_ptr.hpp>
class Encoder;
class Encoder;
@@
-33,17
+32,18
@@
class Encoder;
class TranscodeJob : public Job
{
public:
class TranscodeJob : public Job
{
public:
- TranscodeJob (boost::shared_ptr<const Film> film);
+ explicit TranscodeJob (std::shared_ptr<const Film> film);
+ ~TranscodeJob ();
std::string name () const;
std::string json_name () const;
void run ();
std::string status () const;
std::string name () const;
std::string json_name () const;
void run ();
std::string status () const;
- void set_encoder (
boost
::shared_ptr<Encoder> t);
+ void set_encoder (
std
::shared_ptr<Encoder> t);
private:
int remaining_time () const;
private:
int remaining_time () const;
-
boost
::shared_ptr<Encoder> _encoder;
+
std
::shared_ptr<Encoder> _encoder;
};
};