[GME-commit] GMESRC/GME/Interfaces Core.idl, 1.13, 1.14 Gme.idl, 1.25, 1.26 InterfaceVersion.h, 1.74, 1.75 Mga.idl, 1.51, 1.52 MgaUtil.idl, 1.51, 1.52

gme-commit at list.isis.vanderbilt.edu gme-commit at list.isis.vanderbilt.edu
Wed Mar 7 14:55:02 CST 2007


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

Modified Files:
	Core.idl Gme.idl InterfaceVersion.h Mga.idl MgaUtil.idl 
Log Message:
Core::OpenProject/CreateProject can have another parameter specifying the undo queue size.

Mga::RefreshLibV3, AttachLibV3 can ungroup, (optimize) the loaded libraries.
Mga::Get/SetVirtuallyIncludes, Get/SetVirtuallyIncludedBy for getting dependency info for Ungrouped (optimized) libraries.

Mga::OBJEVENT_OPENMODEL new event introduced.

MgaUtil:: Preference setter for Navigation, UndoSize

GME:: new GMEOLEApp method for RefreshLibrary
      new GMEOLEIt  method for positioning objects.



CVS User: Zoltan Molnar, ISIS (zolmol)

Index: MgaUtil.idl
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Interfaces/MgaUtil.idl,v
retrieving revision 1.51
retrieving revision 1.52
diff -C2 -d -r1.51 -r1.52
*** MgaUtil.idl	15 Aug 2006 17:34:42 -0000	1.51
--- MgaUtil.idl	7 Mar 2007 20:55:00 -0000	1.52
***************
*** 334,337 ****
--- 334,350 ----
  	HRESULT SetTimeStamping([in] regaccessmode_enum mode, [in] VARIANT_BOOL enabled);
  
+ 	// --- ModelHistory Navigation enabled
+ 	[helpstring("is Navigation enabled")]
+ 	HRESULT GetNavigation([in] regaccessmode_enum mode, [out, retval] VARIANT_BOOL *enabled);
+ 	
+ 	[helpstring("setter for Navigation")]
+ 	HRESULT SetNavigation([in] regaccessmode_enum mode, [in] VARIANT_BOOL enabled);
+ 
+ 	// --- UndoSize preference
+ 	[helpstring("getter for Undo size queue")]
+ 	HRESULT GetUndoQueueSize(regaccessmode_enum mode, BSTR *queuesz);
+ 	[helpstring("setter for Undo size queue. Valid if >=1. Affects GME performance. The smaller the faster.")]
+ 	HRESULT SetUndoQueueSize(regaccessmode_enum mode, BSTR queuesz);
+ 
  	// --- Paradigms
  

Index: Core.idl
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Interfaces/Core.idl,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** Core.idl	28 Nov 2005 21:51:13 -0000	1.13
--- Core.idl	7 Mar 2007 20:55:00 -0000	1.14
***************
*** 389,392 ****
--- 389,399 ----
  	HRESULT DeleteProject([in] BSTR connection);
  
+ 	[helpstring("method OpenProject, with undo size specification")]
+ 	HRESULT OpenProject2([in] BSTR connection, [in] long pUndoSize, [in] ICoreMetaProject *p, 
+ 								[out, defaultvalue(0)] VARIANT_BOOL *ro_mode);
+ 
+ 	[helpstring("method CreateProject, with undo size specification")]
+ 	HRESULT CreateProject2([in] BSTR connection, [in] long pUndoSize, [in] ICoreMetaProject *p);
+ 
  	// --- Objects
  

Index: InterfaceVersion.h
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Interfaces/InterfaceVersion.h,v
retrieving revision 1.74
retrieving revision 1.75
diff -C2 -d -r1.74 -r1.75
*** InterfaceVersion.h	19 Oct 2006 16:23:50 -0000	1.74
--- InterfaceVersion.h	7 Mar 2007 20:55:00 -0000	1.75
***************
*** 3,12 ****
  // Interfaceversion.h file
  
! // CHECKSUM Core.idl = E1744BD4
  // CHECKSUM Meta.idl = DF870113
! // CHECKSUM Mga.idl = AE63B1B3
! // CHECKSUM MgaUtil.idl = 3A260000
  // CHECKSUM MgaDecorator.idl = E2851BB1
! // CHECKSUM Gme.idl = 6A6023EE
  // CHECKSUM Parser.idl = EE6FC409
  
--- 3,12 ----
  // Interfaceversion.h file
  
! // CHECKSUM Core.idl = B6534C3E
  // CHECKSUM Meta.idl = DF870113
! // CHECKSUM Mga.idl = 93C09A2B
! // CHECKSUM MgaUtil.idl = 39997A64
  // CHECKSUM MgaDecorator.idl = E2851BB1
! // CHECKSUM Gme.idl = 8DDD9F3F
  // CHECKSUM Parser.idl = EE6FC409
  
***************
*** 18,22 ****
  //  -- never decrease it
  cpp_quote("#ifndef INTERFACE_VERSION")
! cpp_quote("#define INTERFACE_VERSION 0x00020095")
  cpp_quote("#endif //INTERFACE_VERSION")
! #define INTERFACE_VERSION 0x00020095
--- 18,22 ----
  //  -- never decrease it
  cpp_quote("#ifndef INTERFACE_VERSION")
! cpp_quote("#define INTERFACE_VERSION 0x00020096")
  cpp_quote("#endif //INTERFACE_VERSION")
! #define INTERFACE_VERSION 0x00020096

Index: Gme.idl
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Interfaces/Gme.idl,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** Gme.idl	19 Oct 2006 16:23:50 -0000	1.25
--- Gme.idl	7 Mar 2007 20:55:00 -0000	1.26
***************
*** 161,164 ****
--- 161,167 ----
  	[id(46), helpstring("Exit Application")]
  	HRESULT Exit();
+ 
+ 	[id(47), helpstring("Refresh Lib")]
+ 	HRESULT RefreshLib( [in] BSTR pLibName, [in] VARIANT_BOOL ungroup, [out,retval] long* numOfErrors);
  };
  
***************
*** 274,278 ****
  	HRESULT Prev();
  
! 	HRESULT Layout( [in] long par);
  };
  
--- 277,282 ----
  	HRESULT Prev();
  
! 	HRESULT Position( [in] BSTR child, [in] BSTR aspect, [in] long parX, [in] long parY);
! 	HRESULT PositionFCO( [in] IMgaFCO* fco, [in] BSTR aspect, [in] long parX, [in] long parY);
  };
  

Index: Mga.idl
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Interfaces/Mga.idl,v
retrieving revision 1.51
retrieving revision 1.52
diff -C2 -d -r1.51 -r1.52
*** Mga.idl	21 Jul 2006 16:39:58 -0000	1.51
--- Mga.idl	7 Mar 2007 20:55:00 -0000	1.52
***************
*** 155,158 ****
--- 155,160 ----
  [ helpstring("user event bitfield, user events should fall into this range")]
  		OBJEVENT_USERBITS	=	0x00FF0000,             
+ [ helpstring("user event: GME open model")]
+ 		OBJEVENT_OPENMODEL	=	0x00080000,             
  [ helpstring("user event: GME object selected")]
  		OBJEVENT_SELECT		=	0x00100000,             
***************
*** 479,482 ****
--- 481,486 ----
  			HRESULT NthObjectByPath([in] long n_th, [in] BSTR path, [out, retval] IMgaObject **pVal);
  
+ 	[ helpstring("method GetTopLibraries")] HRESULT GetTopLibraries( [in] BSTR dispGuid, [out, retval] IMgaFolders **returnset);
+ 
  // Project properties
  	[helpstring("method GetStatistics")] HRESULT GetStatistics([out, retval] BSTR *statstr);
***************
*** 972,975 ****
--- 976,993 ----
  	[ propget, helpstring("method LibraryName")] HRESULT LibraryName([out, retval] BSTR *connstring);
  	[ propput, helpstring("method LibraryName")] HRESULT LibraryName([in] BSTR connstring);
+ 
+ 	[ helpstring("method AttachLibrary with Ungroup option (aka Optimization)")] 
+ 		HRESULT AttachLibraryV3([in] BSTR connstring, [in] VARIANT_BOOL ungroup, [out, retval] IMgaFolder **nf);
+ 	[ helpstring("method RefreshLibrary with Ungroup option (aka Optimization)")] 
+ 		HRESULT RefreshLibraryV3([in] BSTR connstring, [in] VARIANT_BOOL ungroup, [out, retval] long* numOfErrors);
+ 
+ 	[ helpstring("method for getting those libraries which are virtually included by this")] 
+ 		HRESULT GetVirtuallyIncludes( [out, retval] IMgaFolders** pDep);
+ 	[ helpstring("method for getting those libraries which virtually include this")] 
+ 		HRESULT GetVirtuallyIncludedBy( [out, retval] IMgaFolders** pDep);
+ 	[ helpstring("method for setting those libraries which are virtually included by this")] 
+ 		HRESULT SetVirtuallyIncludes( [in] IMgaFolders* pDep);
+ 	[ helpstring("method for setting those libraries which virtually include this")] 
+ 		HRESULT SetVirtuallyIncludedBy( [in] IMgaFolders* pDep);
  };
  



More information about the GME-commit mailing list