diff options
Diffstat (limited to 'Gem/develop/include')
-rw-r--r-- | Gem/develop/include/Gem/plugins/film.h | 2 | ||||
-rw-r--r-- | Gem/develop/include/Gem/plugins/record.h | 6 | ||||
-rw-r--r-- | Gem/develop/include/Gem/plugins/video.h | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/Gem/develop/include/Gem/plugins/film.h b/Gem/develop/include/Gem/plugins/film.h index 679c753..14f39ec 100644 --- a/Gem/develop/include/Gem/plugins/film.h +++ b/Gem/develop/include/Gem/plugins/film.h @@ -80,7 +80,7 @@ class GEM_EXTERN film * anything about the internal cs of the decoder */ /* returns TRUE if loading was successful, FALSE otherwise */ - virtual bool open(const std::string, + virtual bool open(const std::string&, const gem::Properties&requestprops) = 0; /* some error codes */ diff --git a/Gem/develop/include/Gem/plugins/record.h b/Gem/develop/include/Gem/plugins/record.h index b2aa254..ed0113c 100644 --- a/Gem/develop/include/Gem/plugins/record.h +++ b/Gem/develop/include/Gem/plugins/record.h @@ -54,11 +54,11 @@ public: /** * get a human readable description of the given codec (e.g. "Motion Jpeg A") */ - virtual const std::string getCodecDescription(const std::string codecname) = 0; + virtual const std::string getCodecDescription(const std::string&codecname) = 0; /** * set the current codec */ - virtual bool setCodec(const std::string name) = 0; + virtual bool setCodec(const std::string&name) = 0; /** * list all properties the currently selected codec supports @@ -76,7 +76,7 @@ public: /* * returns TRUE if opening was successful, FALSE otherwise */ - virtual bool start(const std::string filename, gem::Properties&props) = 0; + virtual bool start(const std::string&filename, gem::Properties&props) = 0; ////////// // record a frame diff --git a/Gem/develop/include/Gem/plugins/video.h b/Gem/develop/include/Gem/plugins/video.h index 7be968d..4944f94 100644 --- a/Gem/develop/include/Gem/plugins/video.h +++ b/Gem/develop/include/Gem/plugins/video.h @@ -71,7 +71,7 @@ namespace gem { namespace plugins { * the default implementation (which you normally shouldn't need to override) * will simply set m_devicename and clear m_devicenum */ - virtual bool setDevice(const std::string) = 0; + virtual bool setDevice(const std::string&) = 0; //! open the device (calls openDevice()) @@ -194,7 +194,7 @@ namespace gem { namespace plugins { // for pix_video: query whether this backend provides access to this class of devices // (e.g. "dv") - virtual bool provides(const std::string) = 0; + virtual bool provides(const std::string&) = 0; // get a list of all provided devices virtual std::vector<std::string>provides(void) = 0; |