InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ISetMDBeforeSaveCmdData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Lin Xia
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16 //
17 // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18 // with the terms of the Adobe license agreement accompanying it. If you have received
19 // this file from a source other than Adobe, then your use, modification, or
20 // distribution of it requires the prior written permission of Adobe.
21 //
22 //========================================================================================
23 
24 #ifndef __ISetMDBeforeSaveCmdData_h__
25 #define __ISetMDBeforeSaveCmdData_h__
26 
27 // ----- Interfaces -----
28 #include "IPMUnknown.h"
29 
30 // ----- ID.h files -----
31 
32 #include "MetaDataID.h"
33 
38 //========================================================================================
39 // INTERFACE ISetMDBeforeSaveCmdData
40 //========================================================================================
41 
43 {
44 public:
45  enum { kDefaultIID = IID_ISETMDBEFORESAVECMDDATA };
46 
54  virtual void Set(IPMUnknown* targetObject, const IDFile &fileToSave, bool16 generateManifest, bool16 isSaved) = 0;
55 
61  virtual IPMUnknown* QueryTargetObject(const PMIID& iid) const = 0;
62 
66  virtual IDFile GetFileToSave() const = 0;
70  virtual bool16 ShouldGenerateManifest() const = 0;
74  virtual bool16 IsSaved() const = 0;
75 };
76 
77 #endif // __ISetMDBeforeSaveCmdData_h__