InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IRestoreLinkCmdData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Steve Flenniken
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 __IRestoreLinkCmdData__
25 #define __IRestoreLinkCmdData__
26 
27 #include "IPMUnknown.h"
28 #include "IDatalink.h"
29 #include "LinksID.h"
30 
31 class NameInfo;
32 class PMString;
33 
34 class UIDList;
35 
39 {
40 public:
41  enum { kDefaultIID = IID_IRESTORELINKCMDDATA };
42 
52  virtual void Set(IDataBase *db, UID uid, NameInfo *name, PMString *type, uint32 filetype, IDataLink::StateType state, const PMString *fullPath = nil) = 0;
53 
58  virtual void SetSizeTime(uint64 *size, uint64 *time) = 0;
59 
63  virtual IDataBase *GetDataBase() = 0;
64 
68  virtual UID GetUID() = 0;
69 
73  virtual NameInfo *GetName() = 0;
74 
78  virtual PMString *GetType() = 0;
79 
83  virtual uint32 GetFileType() = 0;
84 
88  virtual IDataLink::StateType GetState() = 0;
89 
93  virtual uint64 *GetSize() = 0;
94 
98  virtual uint64 *GetTime() = 0;
99 
103  virtual const PMString *GetFullPath() = 0;
104 };
105 
106 #endif