[GME-commit] GMESRC/GME/Interfaces Gme.idl,1.22,1.23 InterfaceVersion.h,1.68,1.69 Mga.idl,1.48,1.49

gme-commit at list.isis.vanderbilt.edu gme-commit at list.isis.vanderbilt.edu
Mon May 1 18:20:14 CDT 2006


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

Modified Files:
	Gme.idl InterfaceVersion.h Mga.idl 
Log Message:
Commiting
MGA:
-------
-mga notification sent upon status change from RW2RO or RO2RW (RO-read only, RW-read write)


GMEOLE:
-------
-setworkingdirectory method introd into IGMEOLEApp (will affect the SaveAs dialog's current directory)

-setcompforkind: enable/disable comps also when no model is opened


GME:
-------
-SaveAs dialog offers possibility to save an Mga file with custom extensions also (in the Save as Type dropdown control), however the format is still mga. (feature requested for CAPE project)




CVS User: Zoltan Molnar, ISIS (zolmol)

Index: Mga.idl
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Interfaces/Mga.idl,v
retrieving revision 1.48
retrieving revision 1.49
diff -C2 -d -r1.48 -r1.49
*** Mga.idl	13 Mar 2006 19:05:00 -0000	1.48
--- Mga.idl	1 May 2006 17:20:12 -0000	1.49
***************
*** 148,151 ****
--- 148,155 ----
  [ helpstring("object has been excluded from set")]
  		OBJEVENT_SETEXCLUDED=   0x00008000,              
+ [ helpstring("object has been marked readonly")]
+ 		OBJEVENT_MARKEDRO   =   0x00010000,
+ [ helpstring("object has been marked readwrite (readonly flag has been removed)")]
+ 		OBJEVENT_MARKEDRW   =   0x00020000,
  
  [ helpstring("user event bitfield, user events should fall into this range")]
***************
*** 739,742 ****
--- 743,747 ----
  	[helpstring("ask about access rights to an object")]
  			HRESULT HasReadOnlyAccess( [out, retval] VARIANT_BOOL* pReadOnly );
+ 
  };
  

Index: InterfaceVersion.h
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Interfaces/InterfaceVersion.h,v
retrieving revision 1.68
retrieving revision 1.69
diff -C2 -d -r1.68 -r1.69
*** InterfaceVersion.h	14 Mar 2006 21:04:54 -0000	1.68
--- InterfaceVersion.h	1 May 2006 17:20:12 -0000	1.69
***************
*** 5,12 ****
  // CHECKSUM Core.idl = E1744BD4
  // CHECKSUM Meta.idl = 8997E431
! // CHECKSUM Mga.idl = B5B9651C
  // CHECKSUM MgaUtil.idl = DBBEE796
  // CHECKSUM MgaDecorator.idl = E2851BB1
! // CHECKSUM Gme.idl = 3FB62C38
  // CHECKSUM Parser.idl = EE6FC409
  
--- 5,12 ----
  // CHECKSUM Core.idl = E1744BD4
  // CHECKSUM Meta.idl = 8997E431
! // CHECKSUM Mga.idl = 25A65AE2
  // CHECKSUM MgaUtil.idl = DBBEE796
  // CHECKSUM MgaDecorator.idl = E2851BB1
! // CHECKSUM Gme.idl = 39239D50
  // CHECKSUM Parser.idl = EE6FC409
  
***************
*** 18,22 ****
  //  -- never decrease it
  cpp_quote("#ifndef INTERFACE_VERSION")
! cpp_quote("#define INTERFACE_VERSION 0x00020091")
  cpp_quote("#endif //INTERFACE_VERSION")
! #define INTERFACE_VERSION 0x00020091
--- 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

Index: Gme.idl
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Interfaces/Gme.idl,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** Gme.idl	15 Feb 2006 21:02:30 -0000	1.22
--- Gme.idl	1 May 2006 17:20:12 -0000	1.23
***************
*** 141,146 ****
  	// disable automatically a component whenever a model specified in the 2nd parameter
  	// is opened AND focused in the editing window
! 	// e.g. : gme.DisableCompForKinds( "MGA.Interpreter.SFInterpreter", "Primitive;Compound")
! 	// Users NEED to call SetCompFiltering to activate this feature
  	[id(42), helpstring("method for disabling/enabling a component when certain model kinds are shown")] 
  	HRESULT DisableCompForKinds( [in] BSTR pCompProgID, [in] BSTR pKindSequenceDelimitedBySemicolon);
--- 141,148 ----
  	// disable automatically a component whenever a model specified in the 2nd parameter
  	// is opened AND focused in the editing window
! 	//    e.g. : gme.DisableCompForKinds( "MGA.Interpreter.SFInterpreter", "Primitive;Compound")
! 	// specify the special string below to disable components when no model is open at all
! 	//    e.g. : gme.DisableCompForKinds( "MGA.Interpreter.SFInterpreter", "_NO_MODEL_IS_OPEN_")
! 	// Users NEED to call SetCompFiltering to activate this feature (before or after)
  	[id(42), helpstring("method for disabling/enabling a component when certain model kinds are shown")] 
  	HRESULT DisableCompForKinds( [in] BSTR pCompProgID, [in] BSTR pKindSequenceDelimitedBySemicolon);
***************
*** 153,156 ****
--- 155,161 ----
  	[id(44), helpstring("inquire component filtering state")] 
  	HRESULT GetCompFiltering( [out, retval] VARIANT_BOOL* pPtrTurnedOn);
+ 
+ 	[id(45), helpstring("Sets the working directory. Will affect the dialogs when the user will Open or Save As")]
+ 	HRESULT SetWorkingDirectory( [in] BSTR pDirPath);
  };
  



More information about the GME-commit mailing list