[GME-commit] GMESRC/GME/Interfaces Gme.idl,1.23,1.24 InterfaceVersion.h,1.71,1.72

gme-commit at list.isis.vanderbilt.edu gme-commit at list.isis.vanderbilt.edu
Thu Oct 19 03:16:54 CDT 2006


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

Modified Files:
	Gme.idl InterfaceVersion.h 
Log Message:
Exit() added to IGMEOLEApp.
FollowRef, ConnectThruFCOPort, Layout added to IGMEOLEIt.


CVS User: Zoltan Molnar, ISIS (zolmol)

Index: InterfaceVersion.h
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Interfaces/InterfaceVersion.h,v
retrieving revision 1.71
retrieving revision 1.72
diff -C2 -d -r1.71 -r1.72
*** InterfaceVersion.h	15 Aug 2006 22:44:19 -0000	1.71
--- InterfaceVersion.h	19 Oct 2006 02:16:52 -0000	1.72
***************
*** 8,12 ****
  // CHECKSUM MgaUtil.idl = 3A260000
  // CHECKSUM MgaDecorator.idl = E2851BB1
! // CHECKSUM Gme.idl = 39239D50
  // CHECKSUM Parser.idl = EE6FC409
  
--- 8,12 ----
  // CHECKSUM MgaUtil.idl = 3A260000
  // CHECKSUM MgaDecorator.idl = E2851BB1
! // CHECKSUM Gme.idl = A4D74CF2
  // CHECKSUM Parser.idl = EE6FC409
  
***************
*** 18,22 ****
  //  -- never decrease it
  cpp_quote("#ifndef INTERFACE_VERSION")
! cpp_quote("#define INTERFACE_VERSION 0x00020092")
  cpp_quote("#endif //INTERFACE_VERSION")
! #define INTERFACE_VERSION 0x00020092
--- 18,22 ----
  //  -- never decrease it
  cpp_quote("#ifndef INTERFACE_VERSION")
! cpp_quote("#define INTERFACE_VERSION 0x00020093")
  cpp_quote("#endif //INTERFACE_VERSION")
! #define INTERFACE_VERSION 0x00020093

Index: Gme.idl
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Interfaces/Gme.idl,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** Gme.idl	1 May 2006 17:20:12 -0000	1.23
--- Gme.idl	19 Oct 2006 02:16:52 -0000	1.24
***************
*** 158,161 ****
--- 158,164 ----
  	[id(45), helpstring("Sets the working directory. Will affect the dialogs when the user will Open or Save As")]
  	HRESULT SetWorkingDirectory( [in] BSTR pDirPath);
+ 
+ 	[id(46), helpstring("Exit Application")]
+ 	HRESULT Exit();
  };
  
***************
*** 193,200 ****
  
  	// methods allowing the user to generate models ie. from the scripting window:
! 	
  	HRESULT ShowFCO( [in] BSTR path, [in, defaultvalue(0)] VARIANT_BOOL inParent );
  	HRESULT Child( [in] BSTR name, [out,retval] IMgaFCO** child_fco );
  	HRESULT Create( [in] BSTR part, [in] BSTR name, [out,retval] IMgaFCO** new_fco );
  	HRESULT Duplicate([in] BSTR existing_fco_name, [in] BSTR new_fco_name, [out,retval] IMgaFCO** new_fco );
  	HRESULT DuplicateFCO([in] IMgaFCO* existing_fco, [in] BSTR new_fco_name, [out,retval] IMgaFCO** new_fco );
--- 196,210 ----
  
  	// methods allowing the user to generate models ie. from the scripting window:
! 	[helpstring("ShowFCO - accepts relative path both up and down. For models only: If InParent == true shown selected in parent, otherwise opened.")]
  	HRESULT ShowFCO( [in] BSTR path, [in, defaultvalue(0)] VARIANT_BOOL inParent );
+ 	[helpstring("ShowFCOPtr - changes the view to fco.")]
+ 	HRESULT ShowFCOPtr( [in] IMgaFCO* fco, [in, defaultvalue(0)] VARIANT_BOOL inParent );
+ 
  	HRESULT Child( [in] BSTR name, [out,retval] IMgaFCO** child_fco );
  	HRESULT Create( [in] BSTR part, [in] BSTR name, [out,retval] IMgaFCO** new_fco );
+ 	[helpstring("creates a 'part' named 'name' in child_as_parent model")]
+ 	HRESULT CreateInChild( [in] BSTR child_as_parent, [in] BSTR part, [in] BSTR name, [out,retval] IMgaFCO** new_fco );
+ 	HRESULT CreateInChildFCO( [in] IMgaFCO* child_as_parent, [in] BSTR part, [in] BSTR name, [out,retval] IMgaFCO** new_fco );
+ 
  	HRESULT Duplicate([in] BSTR existing_fco_name, [in] BSTR new_fco_name, [out,retval] IMgaFCO** new_fco );
  	HRESULT DuplicateFCO([in] IMgaFCO* existing_fco, [in] BSTR new_fco_name, [out,retval] IMgaFCO** new_fco );
***************
*** 212,218 ****
--- 222,231 ----
  	HRESULT Disconnect( [in] BSTR src_part, [in] BSTR dst_part, [in] BSTR connection_name);
  
+ 	[helpstring("creates a connection. src_part_1 must be the model/reference, src_part_2 must be the port's name. if portname empty connection drawn to src_part_1")]
  	HRESULT ConnectThruPort( [in] BSTR src_part_1, [in] BSTR src_part_2, [in] BSTR dst_part_1, [in] BSTR dst_part_2, [in] BSTR connection_role, [out, retval] IMgaConnection ** conn );
+ 	HRESULT ConnectThruPortFCO( [in] IMgaFCO* src_part_1, [in] IMgaFCO* src_part_2, [in] IMgaFCO* dst_part_1, [in] IMgaFCO* dst_part_2, [in] BSTR connection_role, [out, retval] IMgaConnection ** conn);
  	HRESULT DisconnectThruPort( [in] BSTR src_part_1, [in] BSTR src_part_2, [in] BSTR dst_part_1, [in] BSTR dst_part_2, [in] BSTR connection_name);
  
+ 
  	HRESULT ConnectFCOs( [in] IMgaFCO* src_part, [in] IMgaFCO* dst_part, [in] BSTR connection_role, [out, retval] IMgaConnection ** conn );
  	HRESULT DisconnectFCOs( [in] IMgaFCO* src_part, [in] IMgaFCO* dst_part, [in] BSTR connection_name);
***************
*** 220,226 ****
--- 233,243 ----
  	HRESULT Refer( [in] BSTR reference, [in] BSTR referred);
  	HRESULT ClearRef( [in] BSTR reference);
+ 	HRESULT FollowRef( [in] BSTR reference);
  
  	HRESULT ReferFCO( [in] IMgaReference* reference, [in] IMgaFCO* referred);
  	HRESULT ClearRefFCO( [in] IMgaReference* reference);
+ 	HRESULT FollowRefFCO( [in] IMgaReference* reference);
+ 	HRESULT NullFCO( [out, retval] IMgaFCO** nullobj);
+ 
  
  	HRESULT SetAttribute( [in] BSTR name, [in] BSTR attr_name, [in] BSTR value);
***************
*** 249,257 ****
  
  
! 	HRESULT NextAspect();//switches to the next aspect of this view (opened model)
  	HRESULT PrevAspect();
  
! 	HRESULT Next();	// makes the next (if any) view (opened model) the active view 
  	HRESULT Prev();
  };
  
--- 266,278 ----
  
  
! 	[helpstring("switches to the next aspect of this view (opened model)")]
! 	HRESULT NextAspect();
  	HRESULT PrevAspect();
  
! 	[helpstring("makes the next (if any) view (opened model) the active view ")]
! 	HRESULT Next();
  	HRESULT Prev();
+ 
+ 	HRESULT Layout( [in] long par);
  };
  



More information about the GME-commit mailing list