[GME-commit] GMESRC/GME/Interfaces Gme.idl, 1.26, 1.27 InterfaceVersion.h, 1.77, 1.78 Mga.idl, 1.54, 1.55

Log messages of CVS commits gme-commit at list.isis.vanderbilt.edu
Tue Apr 15 14:14:57 CDT 2008


Update of /project/gme-repository/GMESRC/GME/Interfaces
In directory escher:/tmp/cvs-serv30031

Modified Files:
	Gme.idl InterfaceVersion.h Mga.idl 
Log Message:
Dispatch compatible improvements.


CVS User: Zoltan Molnar, ISIS (zolmol)

Index: Mga.idl
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Interfaces/Mga.idl,v
retrieving revision 1.54
retrieving revision 1.55
diff -C2 -d -r1.54 -r1.55
*** Mga.idl	13 Feb 2008 21:23:58 -0000	1.54
--- Mga.idl	15 Apr 2008 19:14:55 -0000	1.55
***************
*** 446,449 ****
--- 446,452 ----
  				HRESULT BeginTransaction([in] IMgaTerritory *terr, 
  									[in, defaultvalue(TRANSACTION_GENERAL)] transactiontype_enum mode);
+ 	[ helpstring("method BeginTransactionInNewTerr with Territory creation")] 
+ 				HRESULT BeginTransactionInNewTerr([in, defaultvalue(TRANSACTION_GENERAL)] transactiontype_enum mode, [out, retval] IMgaTerritory **terr);
+ 
  	[ propget, helpstring("property ProjectStatus mask bits: 0:is open? 1:open r/o? 2:has changed? 3:in transaction?, 4:transaction r/o?, 31:error?")] 
  				HRESULT ProjectStatus([out, retval] long *stat);
***************
*** 1003,1006 ****
--- 1006,1019 ----
  		HRESULT SetVirtuallyIncludedBy( [in] IMgaFolders* pDep);
  
+ // Dispatch compatible copy/move
+ 	[helpstring("method MoveFCO through Dispatch")]
+ 		HRESULT MoveFCODisp([in] IMgaFCO *to_copy, [out, retval] IMgaFCO **obj);
+ 	[helpstring("method CopyFCO through Dispatch")]
+ 		HRESULT CopyFCODisp([in] IMgaFCO *to_move, [out, retval] IMgaFCO **obj);
+ 	[helpstring("method MoveFolder through Dispatch")]
+ 		HRESULT MoveFolderDisp([in] IMgaFolder *to_copy, [out, retval] IMgaFolder **obj);
+ 	[helpstring("method CopyFolder through Dispatch")]
+ 		HRESULT CopyFolderDisp([in] IMgaFolder *to_move, [out, retval] IMgaFolder **obj);
+ 
  // Source control
  	[ helpstring("method GetSourceControlInfo, to find out current status of file")] 
***************
*** 1060,1063 ****
--- 1073,1091 ----
  		HRESULT ChildRelIDCounter([in] long pVal);
  
+ // Dispatch compatible connection creation
+ 	[helpstring("method CreateSimpleConn through Dispatch")] 
+ 		HRESULT CreateSimpleConnDisp([in] IMgaMetaRole *meta, [in] IMgaFCO *src, [in] IMgaFCO *dst,
+ 							 [in] IMgaFCO *srcref, [in] IMgaFCO *dstref, [out, retval] IMgaFCO **newobj);
+ 
+ 	[helpstring("method CreateSimpleConn through Dispatch")] 
+ 		HRESULT CreateSimplerConnDisp([in] IMgaMetaRole *meta, [in] IMgaFCO *src, [in] IMgaFCO *dst, [out, retval] IMgaFCO **newobj);
+ 
+ // Dispatch compatible copy/move
+ 	[helpstring("method MoveFCO through Dispatch")] 
+ 		HRESULT MoveFCODisp([in] IMgaFCO * to_copy, [in] IMgaMetaRole *destrole, [out, retval] IMgaFCO **obj);
+ 	[helpstring("method CopyFCO through Dispatch")] 
+ 		HRESULT CopyFCODisp([in] IMgaFCO * to_move, [in] IMgaMetaRole *destrole, [out, retval] IMgaFCO **obj);
+ 
+ 
  // Source control
  	[ helpstring("method GetSourceControlInfo, to find out current status of file")] 
***************
*** 1136,1139 ****
--- 1164,1170 ----
  	[id(0x581), helpstring("method RevertToBase")] 
  		HRESULT RevertToBase();
+ 
+ 	// Dispatch compatible method, similar to Referred = 0
+ 	[helpstring("Clear Reference")] HRESULT ClearRef();
  };
  
***************
*** 1176,1180 ****
  	[propget, helpstring("property Members")] HRESULT Members([out, retval] IMgaFCOs **pVal);
  	[propget, helpstring("property IsMember")] HRESULT IsMember([in] IMgaFCO *obj, [out, retval] VARIANT_BOOL *pVal);
- 	[helpstring("getter for property IsMember")] HRESULT GetIsMemberDisp([in] IMgaFCO *obj, [out, retval] VARIANT_BOOL *pVal);
  
  	[id(0x580), helpstring("method CompareToBase; all elements are compared; 0 if all match")] 
--- 1207,1210 ----
***************
*** 1188,1191 ****
--- 1218,1222 ----
  			HRESULT RevertToBase([in, defaultvalue(0)] IMgaFCO *elem);
  */
+ 	[helpstring("getter for property IsMember")] HRESULT GetIsMemberDisp([in] IMgaFCO *obj, [out, retval] VARIANT_BOOL *pVal);
  };
  

Index: InterfaceVersion.h
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Interfaces/InterfaceVersion.h,v
retrieving revision 1.77
retrieving revision 1.78
diff -C2 -d -r1.77 -r1.78
*** InterfaceVersion.h	13 Feb 2008 21:23:58 -0000	1.77
--- InterfaceVersion.h	15 Apr 2008 19:14:55 -0000	1.78
***************
*** 5,12 ****
  // CHECKSUM Core.idl = B6534C3E
  // CHECKSUM Meta.idl = DF870113
! // CHECKSUM Mga.idl = CE98568F
  // CHECKSUM MgaUtil.idl = 39997A64
  // CHECKSUM MgaDecorator.idl = E2851BB1
! // CHECKSUM Gme.idl = 8DDD9F3F
  // CHECKSUM Parser.idl = EE6FC409
  
--- 5,12 ----
  // CHECKSUM Core.idl = B6534C3E
  // CHECKSUM Meta.idl = DF870113
! // CHECKSUM Mga.idl = 534AEB6A
  // CHECKSUM MgaUtil.idl = 39997A64
  // CHECKSUM MgaDecorator.idl = E2851BB1
! // CHECKSUM Gme.idl = 9D59DDB0
  // CHECKSUM Parser.idl = EE6FC409
  
***************
*** 18,22 ****
  //  -- never decrease it
  cpp_quote("#ifndef INTERFACE_VERSION")
! cpp_quote("#define INTERFACE_VERSION 0x0002009E")
  cpp_quote("#endif //INTERFACE_VERSION")
! #define INTERFACE_VERSION 0x0002009E
--- 18,22 ----
  //  -- never decrease it
  cpp_quote("#ifndef INTERFACE_VERSION")
! cpp_quote("#define INTERFACE_VERSION 0x000200A3")
  cpp_quote("#endif //INTERFACE_VERSION")
! #define INTERFACE_VERSION 0x000200A3

Index: Gme.idl
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Interfaces/Gme.idl,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** Gme.idl	7 Mar 2007 20:55:00 -0000	1.26
--- Gme.idl	15 Apr 2008 19:14:55 -0000	1.27
***************
*** 258,261 ****
--- 258,262 ----
  	HRESULT BeginTransaction();
  	HRESULT CommitTransaction();
+ 	HRESULT AbortTransaction();
  	HRESULT IsInTransaction( [out, retval] VARIANT_BOOL* intrans);
  	HRESULT PutInTerritory( [in] IMgaFCO* fco, [out, retval] IMgaFCO** newfco);



More information about the GME-commit mailing list