1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
#ifndef __PackageFormat_Support_hpp__
#define __PackageFormat_Support_hpp__ 1
// =================================================================================================
// Copyright Adobe
// Copyright 2013 Adobe
// All Rights Reserved
//
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms
// of the Adobe license agreement accompanying it.
// =================================================================================================
#include "public/include/XMP_Environment.h" // ! This must be the first include.
#include "source/XMP_LibUtils.hpp"
// =================================================================================================
/// \file PackageFormat_Support.hpp
/// \brief XMPFiles support for folder based formats.
///
// =================================================================================================
namespace PackageFormat_Support
{
// Checks if the file at path "file" exists.
// If it exists then it adds to "resourceList" and returns true.
bool AddResourceIfExists ( XMP_StringVector * resourceList, const XMP_VarString & file );
// This function adds all the existing files in the specified folder whose name starts with prefix and ends with postfix.
bool AddResourceIfExists ( XMP_StringVector * resourceList, const XMP_VarString & folderPath,
XMP_StringPtr prefix, XMP_StringPtr postfix);
} // namespace PackageFormat_Support
// =================================================================================================
#endif // __PackageFormat_Support_hpp__
|