Deprecate SshIo, Video, EPS and SSH classes
This commit is contained in:
parent
9d62998973
commit
42d79e87aa
@ -31,6 +31,7 @@
|
||||
#include "exiv2lib_export.h"
|
||||
|
||||
// included header files
|
||||
#include "exiv2lib_compiler_detection.h"
|
||||
#include "image.hpp"
|
||||
|
||||
namespace Exiv2 {
|
||||
@ -46,7 +47,7 @@ namespace Exiv2 {
|
||||
/*!
|
||||
@brief Class to access ASF video files.
|
||||
*/
|
||||
class EXIV2API AsfVideo:public Image
|
||||
class EXIV2_DEPRECATED EXIV2API AsfVideo:public Image
|
||||
{
|
||||
public:
|
||||
//! @name Creators
|
||||
@ -169,10 +170,10 @@ namespace Exiv2 {
|
||||
Caller owns the returned object and the auto-pointer ensures that
|
||||
it will be deleted.
|
||||
*/
|
||||
EXIV2API Image::AutoPtr newAsfInstance(BasicIo::AutoPtr io, bool create);
|
||||
EXIV2_DEPRECATED EXIV2API Image::AutoPtr newAsfInstance(BasicIo::AutoPtr io, bool create);
|
||||
|
||||
//! Check if the file iIo is a Windows Asf Video.
|
||||
EXIV2API bool isAsfType(BasicIo& iIo, bool advance);
|
||||
EXIV2_DEPRECATED EXIV2API bool isAsfType(BasicIo& iIo, bool advance);
|
||||
|
||||
} // namespace Exiv2
|
||||
|
||||
|
||||
@ -27,6 +27,7 @@
|
||||
#include "exiv2lib_export.h"
|
||||
|
||||
// included header files
|
||||
#include "exiv2lib_compiler_detection.h"
|
||||
#include "types.hpp"
|
||||
|
||||
// + standard includes
|
||||
@ -1112,7 +1113,7 @@ namespace Exiv2 {
|
||||
@brief Provides the ssh read/write access and sftp read access for the RemoteIo.
|
||||
This class is based on libssh.
|
||||
*/
|
||||
class EXIV2API SshIo : public RemoteIo {
|
||||
class EXIV2_DEPRECATED EXIV2API SshIo : public RemoteIo {
|
||||
public:
|
||||
//! @name Creators
|
||||
//@{
|
||||
|
||||
@ -38,6 +38,7 @@
|
||||
#include "exiv2lib_export.h"
|
||||
|
||||
// included header files
|
||||
#include "exiv2lib_compiler_detection.h"
|
||||
#include "image.hpp"
|
||||
|
||||
// *****************************************************************************
|
||||
@ -56,7 +57,7 @@ namespace Exiv2
|
||||
/*!
|
||||
@brief Class to access EPS images.
|
||||
*/
|
||||
class EXIV2API EpsImage : public Image {
|
||||
class EXIV2_DEPRECATED EXIV2API EpsImage : public Image {
|
||||
public:
|
||||
//! @name Creators
|
||||
//@{
|
||||
@ -114,10 +115,10 @@ namespace Exiv2
|
||||
Caller owns the returned object and the auto-pointer ensures that
|
||||
it will be deleted.
|
||||
*/
|
||||
EXIV2API Image::AutoPtr newEpsInstance(BasicIo::AutoPtr io, bool create);
|
||||
EXIV2_DEPRECATED EXIV2API Image::AutoPtr newEpsInstance(BasicIo::AutoPtr io, bool create);
|
||||
|
||||
//! Check if the file iIo is a EPS image.
|
||||
EXIV2API bool isEpsType(BasicIo& iIo, bool advance);
|
||||
EXIV2_DEPRECATED EXIV2API bool isEpsType(BasicIo& iIo, bool advance);
|
||||
|
||||
} // namespace Exiv2
|
||||
|
||||
|
||||
@ -31,6 +31,7 @@
|
||||
#include "exiv2lib_export.h"
|
||||
|
||||
// included header files
|
||||
#include "exiv2lib_compiler_detection.h"
|
||||
#include "image.hpp"
|
||||
|
||||
// *****************************************************************************
|
||||
@ -49,7 +50,7 @@ namespace Exiv2 {
|
||||
/*!
|
||||
@brief Helper structure for the Matroska tags lookup table.
|
||||
*/
|
||||
struct MatroskaTags {
|
||||
struct EXIV2_DEPRECATED MatroskaTags {
|
||||
uint64_t val_; //!< Tag value
|
||||
const char* label_; //!< Translation of the tag value
|
||||
|
||||
@ -60,7 +61,7 @@ namespace Exiv2 {
|
||||
/*!
|
||||
@brief Class to access Matroska video files.
|
||||
*/
|
||||
class EXIV2API MatroskaVideo : public Image {
|
||||
class EXIV2_DEPRECATED EXIV2API MatroskaVideo : public Image {
|
||||
public:
|
||||
//! @name Creators
|
||||
//@{
|
||||
@ -145,10 +146,10 @@ namespace Exiv2 {
|
||||
Caller owns the returned object and the auto-pointer ensures that
|
||||
it will be deleted.
|
||||
*/
|
||||
EXIV2API Image::AutoPtr newMkvInstance(BasicIo::AutoPtr io, bool create);
|
||||
EXIV2_DEPRECATED EXIV2API Image::AutoPtr newMkvInstance(BasicIo::AutoPtr io, bool create);
|
||||
|
||||
//! Check if the file iIo is a Matroska Video.
|
||||
EXIV2API bool isMkvType(BasicIo& iIo, bool advance);
|
||||
EXIV2_DEPRECATED EXIV2API bool isMkvType(BasicIo& iIo, bool advance);
|
||||
|
||||
} // namespace Exiv2
|
||||
|
||||
|
||||
@ -49,7 +49,7 @@ namespace Exiv2 {
|
||||
/*!
|
||||
@brief Class to access QuickTime video files.
|
||||
*/
|
||||
class EXIV2API QuickTimeVideo:public Image
|
||||
class EXIV2_DEPRECATED EXIV2API QuickTimeVideo:public Image
|
||||
{
|
||||
public:
|
||||
//! @name Creators
|
||||
@ -242,10 +242,10 @@ namespace Exiv2 {
|
||||
Caller owns the returned object and the auto-pointer ensures that
|
||||
it will be deleted.
|
||||
*/
|
||||
EXIV2API Image::AutoPtr newQTimeInstance(BasicIo::AutoPtr io, bool create);
|
||||
EXIV2_DEPRECATED EXIV2API Image::AutoPtr newQTimeInstance(BasicIo::AutoPtr io, bool create);
|
||||
|
||||
//! Check if the file iIo is a Quick Time Video.
|
||||
EXIV2API bool isQTimeType(BasicIo& iIo, bool advance);
|
||||
EXIV2_DEPRECATED EXIV2API bool isQTimeType(BasicIo& iIo, bool advance);
|
||||
|
||||
} // namespace Exiv2
|
||||
|
||||
|
||||
@ -32,6 +32,7 @@
|
||||
|
||||
// included header files
|
||||
#include "exif.hpp"
|
||||
#include "exiv2lib_compiler_detection.h"
|
||||
#include "image.hpp"
|
||||
|
||||
// *****************************************************************************
|
||||
@ -49,7 +50,7 @@ namespace Exiv2 {
|
||||
/*!
|
||||
@brief Class to access RIFF video files.
|
||||
*/
|
||||
class EXIV2API RiffVideo:public Image
|
||||
class EXIV2_DEPRECATED EXIV2API RiffVideo:public Image
|
||||
{
|
||||
public:
|
||||
//! @name Creators
|
||||
@ -210,10 +211,10 @@ namespace Exiv2 {
|
||||
Caller owns the returned object and the auto-pointer ensures that
|
||||
it will be deleted.
|
||||
*/
|
||||
EXIV2API Image::AutoPtr newRiffInstance(BasicIo::AutoPtr io, bool create);
|
||||
EXIV2_DEPRECATED EXIV2API Image::AutoPtr newRiffInstance(BasicIo::AutoPtr io, bool create);
|
||||
|
||||
//! Check if the file iIo is a Riff Video.
|
||||
EXIV2API bool isRiffType(BasicIo& iIo, bool advance);
|
||||
EXIV2_DEPRECATED EXIV2API bool isRiffType(BasicIo& iIo, bool advance);
|
||||
|
||||
} // namespace Exiv2
|
||||
|
||||
|
||||
@ -28,7 +28,9 @@
|
||||
#include <libssh/sftp.h>
|
||||
#include <sys/stat.h>
|
||||
#include <string>
|
||||
|
||||
#include "error.hpp"
|
||||
#include "exiv2lib_compiler_detection.h"
|
||||
#include "types.hpp"
|
||||
#include "futils.hpp"
|
||||
|
||||
@ -38,7 +40,7 @@ namespace Exiv2 {
|
||||
It makes the libssh transparent. The functions in this class can
|
||||
be used without the requirement of understanding libssh.
|
||||
*/
|
||||
class EXIV2API SSH {
|
||||
class EXIV2_DEPRECATED EXIV2API SSH {
|
||||
public:
|
||||
//! @name Creators
|
||||
//@{
|
||||
|
||||
@ -18,6 +18,10 @@
|
||||
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#ifndef UTILSVIDEO_HPP_
|
||||
#define UTILSVIDEO_HPP_
|
||||
|
||||
#include "exiv2lib_compiler_detection.h"
|
||||
|
||||
namespace Exiv2
|
||||
{
|
||||
@ -25,7 +29,7 @@ namespace Exiv2
|
||||
/*!
|
||||
@brief Class of utility functions used by the video code.
|
||||
*/
|
||||
class UtilsVideo
|
||||
class EXIV2_DEPRECATED UtilsVideo
|
||||
{
|
||||
public:
|
||||
/*!
|
||||
@ -56,3 +60,5 @@ namespace Exiv2
|
||||
}; // class UtilsVideo
|
||||
|
||||
} // namespace Exiv2
|
||||
|
||||
#endif // #ifndef UTILSVIDEO_HPP_
|
||||
Loading…
Reference in New Issue
Block a user