summaryrefslogtreecommitdiff
path: root/XMPFiles/source/XMPFiles.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'XMPFiles/source/XMPFiles.hpp')
-rw-r--r--XMPFiles/source/XMPFiles.hpp19
1 files changed, 18 insertions, 1 deletions
diff --git a/XMPFiles/source/XMPFiles.hpp b/XMPFiles/source/XMPFiles.hpp
index e3ecb8b..2cb15aa 100644
--- a/XMPFiles/source/XMPFiles.hpp
+++ b/XMPFiles/source/XMPFiles.hpp
@@ -173,6 +173,12 @@ public:
XMP_FileFormat * format = 0,
XMP_OptionBits options = 0);
+ static bool GetFileModDate(
+ const Common::XMPFileHandlerInfo& hdlInfo,
+ XMP_StringPtr clientPath,
+ XMP_DateTime * modDate,
+ XMP_OptionBits options = 0 );
+
static XMP_FileFormat CheckFileFormat(XMP_StringPtr filePath);
static XMP_FileFormat CheckPackageFormat(XMP_StringPtr folderPath);
@@ -182,12 +188,24 @@ public:
XMP_FileFormat format = kXMP_UnknownFile ,
XMP_OptionBits options = 0 );
+ static bool GetAssociatedResources (
+ const Common::XMPFileHandlerInfo& hdlInfo,
+ XMP_StringPtr filePath,
+ std::vector<std::string> * resourceList,
+ XMP_OptionBits options = 0 );
+
static bool IsMetadataWritable (
XMP_StringPtr filePath,
XMP_Bool * writable,
XMP_FileFormat format = kXMP_UnknownFile ,
XMP_OptionBits options = 0 );
+ static bool IsMetadataWritable (
+ const Common::XMPFileHandlerInfo& hdlInfo,
+ XMP_StringPtr filePath,
+ XMP_Bool * writable,
+ XMP_OptionBits options = 0 );
+
static void SetDefaultProgressCallback(const XMP_ProgressTracker::CallbackInfo & cbInfo);
static void SetDefaultErrorCallback(XMPFiles_ErrorCallbackWrapper wrapperProc,
XMPFiles_ErrorCallbackProc clientProc,
@@ -225,7 +243,6 @@ public:
bool CanPutXMP(const SXMPMeta & xmpObj);
bool CanPutXMP(XMP_StringPtr xmpPacket, XMP_StringLen xmpPacketLen = kXMP_UseNullTermination);
-
void SetAbortProc(XMP_AbortProc abortProc, void * abortArg);
void SetProgressCallback(const XMP_ProgressTracker::CallbackInfo & cbInfo);