InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IMappingSession.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Prakash Verma
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // ADOBE CONFIDENTIAL
16 //
17 // Copyright 2010 Adobe Systems Incorporated
18 // All Rights Reserved.
19 //
20 // NOTICE: All information contained herein is, and remains
21 // the property of Adobe Systems Incorporated and its suppliers,
22 // if any. The intellectual and technical concepts contained
23 // herein are proprietary to Adobe Systems Incorporated and its
24 // suppliers and are protected by trade secret or copyright law.
25 // Dissemination of this information or reproduction of this material
26 // is strictly forbidden unless prior written permission is obtained
27 // from Adobe Systems Incorporated.
28 //
29 //========================================================================================
30 
31 #ifndef __IMappingSession_h__
32 #define __IMappingSession_h__
33 
34 #include "SharedContentID.h"
35 
36 #include <map>
37 
39 {
40 public:
41  enum { kDefaultIID = IID_IMAPPINGSESSION };
42 
43  virtual bool16 GetIsMappingSessionOpen() const = 0;
44  //virtual void SetIsMapping(bool16 bIsMapping) = 0;
45  virtual void BeginMappingSession(IDataBase *pSrcDB, IDataBase *pDestDB) = 0;
46  virtual void EndMappingSession() = 0;
47  virtual void BindSrcAndDestUID(const IDataBase *pSrcDB, const IDataBase *pDestDB, const UID &src, const UID &dest) = 0;
48  virtual UID GetDestUID(IDataBase *pSrcDB, IDataBase *pDestDB, UID src) const = 0;
49  virtual bool16 GetMappingFailed() const = 0;
50  virtual void SetMappingFailed(bool16 mappingFailed) = 0;
51 };
52 
53 #endif //__IMappingSession_h__