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