[GME-commit] GMESRC/GME/Interfaces Gme.idl,1.13,1.14 InterfaceColl.h,1.10,1.11 InterfaceVersion.h,1.47,1.48

gme-commit at list.isis.vanderbilt.edu gme-commit at list.isis.vanderbilt.edu
Thu Jul 22 10:05:43 CDT 2004


Update of /var/lib/gme/GMESRC/GME/Interfaces
In directory braindrain:/tmp/cvs-serv21898/GME/Interfaces

Modified Files:
	Gme.idl InterfaceColl.h InterfaceVersion.h 
Log Message:
Added dual interfaces to the GUI Automation

CVS User: volgy

Index: Gme.idl
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/Interfaces/Gme.idl,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** Gme.idl	2 Jun 2004 21:50:36 -0000	1.13
--- Gme.idl	22 Jul 2004 14:05:37 -0000	1.14
***************
*** 7,10 ****
--- 7,13 ----
  #endif
  
+ #ifndef INTERFACECOLL_INCLUDED
+ #include "InterfaceColl.h"
+ #endif
  
  #ifndef INTERFACEVERSION_INCLUDED
***************
*** 15,18 ****
--- 18,23 ----
  #define GMEIDL_IMPORTED
  
+ interface IGMEOLEColl;
+ 
  // --------------------------- Gme IDL
  
***************
*** 33,36 ****
--- 38,170 ----
  };
  
+ //  Primary dispatch interface for CGMEOLEApp
+ 	
+ [ uuid(81191A44-B898-4143-BF8B-CA7501FEC19A), 
+ 	oleautomation,
+ 	dual
+ ]
+ interface IGMEOLEApp : IDispatch
+ {
+ 	// properties:
+ 	[propput, id(1)] HRESULT Visible([in] VARIANT_BOOL isVisible);
+ 	[propget, id(1)] HRESULT Visible([out, retval] VARIANT_BOOL* isVisible);
+ 	[propget, id(2)] HRESULT Version([out, retval] BSTR* versionStr);
+ 	[propget, id(3)] HRESULT VersionMajor([out, retval] short* n);
+ 	[propget, id(4)] HRESULT VersionMinor([out, retval] short* n);
+ 	[propget, id(5)] HRESULT VersionPatchLevel([out, retval] short* n);
+ 	[propget, id(6)] HRESULT Models([out, retval] IGMEOLEColl** coll);
+ 	[propget, id(7)] HRESULT MgaProject([out, retval] IMgaProject** project);
+ 	[propget, id(8)] HRESULT Panels([out, retval] IGMEOLEColl** coll);
+ 			
+ 	// methods:
+ 	[id(9)] HRESULT CreateProject([in] BSTR metaname, [in] BSTR connstr);
+ 	[id(10)] HRESULT OpenProject([in] BSTR connstr);
+ 	[id(11)] HRESULT CreateProjectDialog();
+ 	[id(12)] HRESULT OpenProjectDialog();
+ 	[id(13)] HRESULT CloseProject([in] VARIANT_BOOL saveOnClose);
+ 	[id(14)] HRESULT SaveProject();
+ 	[id(15)] HRESULT SaveProjectAs([in] BSTR connstr);
+ 	[id(16)] HRESULT SaveProjectAsDialog();
+ 	[id(17)] HRESULT ExportProject([in] BSTR connstr);
+ 	[id(18)] HRESULT ImportProject([in] BSTR connstr);
+ 	[id(19)] HRESULT ConstraintsDialog();
+ 	[id(20)] HRESULT CheckAllConstraints();
+ 	[id(21)] HRESULT RegisterParagimsDialog();
+ 	[id(22)] HRESULT RegisterComponentsDialog();
+ 	[id(23)] HRESULT RunComponent([in] BSTR progID);
+ 	[id(24)] HRESULT RunComponentDialog();
+ 	[id(25)] HRESULT SettingsDialog();
+ 	[id(26)] HRESULT Undo();
+ 	[id(27)] HRESULT Redo();
+ 	[id(28)] HRESULT ClearUndoQueue();
+ 	[id(29)] HRESULT ProjectPropertiesDialog();
+ 	[id(30)] HRESULT ShowHelpContents();
+ 	[id(31)] HRESULT ShowAbout();
+ 	[id(32)] HRESULT ShowFCO([in] IMgaFCO* mgaFCO);
+ };
+ 
+ 
+ //  Primary dispatch interface for CGMEOLEModel
+ 
+ [ uuid(399A16A0-D209-4d00-9BDF-858D87EC4641),
+ 	oleautomation,
+ 	dual 
+ ]
+ interface IGMEOLEModel : IDispatch
+ {
+ 	// properties:
+ 	[propput, id(1)] HRESULT Active([in] VARIANT_BOOL isActive);
+ 	[propget, id(1)] HRESULT Active([out, retval] VARIANT_BOOL* isActive);
+ 	[propget, id(2)] HRESULT Aspects([out, retval] IGMEOLEColl** coll);
+ 	[propget, id(3)] HRESULT MgaModel([out, retval] IMgaModel** model);
+ 	[propget, id(4)] HRESULT Valid([out, retval] VARIANT_BOOL* isValid);
+ 		
+ 	// methods:
+ 	[id(5)] HRESULT Print();
+ 	[id(6)] HRESULT PrintDialog();
+ 	[id(7)] HRESULT DumpWindowsMetaFile([in] BSTR filePath);
+ 	[id(8)] HRESULT CheckConstraints();
+ 	[id(9)] HRESULT RunComponent([in] BSTR appID);
+ 	[id(10)] HRESULT RunComponentDialog();
+ 	[id(11)] HRESULT Close();
+ 	[id(12)] HRESULT GrayOutFCO([in] VARIANT_BOOL bGray, [in] VARIANT_BOOL bNeighbours, [in] IMgaFCOs* mgaFCO);
+ 	[id(13)] HRESULT GrayOutAll([in] VARIANT_BOOL bGray);
+ };
+ 
+ 
+ //  Primary dispatch interface for CGMEOLEAspect
+ 
+ [ uuid(EDEEB1F8-BC44-40d2-BE91-83E8CCD59845),
+ 	oleautomation, 
+ 	dual
+ ]
+ interface IGMEOLEAspect : IDispatch
+ {
+ 	// properties:
+ 	[propget, id(1)] HRESULT MgaAspect([out, retval] IMgaMetaAspect** aspect);
+ 	[propput, id(2)] HRESULT Active([in] VARIANT_BOOL isActive);
+ 	[propget, id(2)] HRESULT Active([out, retval] VARIANT_BOOL* isActive);
+ 	[propget, id(3)] HRESULT Valid([out, retval] VARIANT_BOOL* isValid);
+ 
+ 	// methods:
+ };
+ 
+ 
+ //  Primary dispatch interface for CGMEOLEPanel
+ 
+ [ uuid(C047FAEB-7AE7-40fb-8C5C-90C73DAD4BC6), 
+ 	oleautomation, 
+ 	dual
+ ]
+ interface IGMEOLEPanel :  IDispatch
+ {
+ 	// properties:
+ 	[propget, id(1)] HRESULT Name([out, retval] BSTR* name);
+ 	[propput, id(2)] HRESULT Visible([in] VARIANT_BOOL isVisible);
+ 	[propget, id(2)] HRESULT Visible([out, retval] VARIANT_BOOL* isVisible);
+ 		
+ 	// methods:
+ };
+ 
+ 
+ //  Primary dispatch interface for CGMEOLEColl
+ 
+ [ uuid(36C7B797-6BDE-46d0-8870-70189000EDF9),
+ 	oleautomation,
+ 	dual
+ ]
+ interface IGMEOLEColl : IDispatch
+ {
+ 	[propget, id(1)] HRESULT Count([out, retval] long *cnt);
+ 	
+ 	[id(2)] HRESULT Add(IDispatch* newValue);
+ 	[id(3)] HRESULT Find(IDispatch* findValue, [out, retval] long *cnt);
+ 	[id(4)] HRESULT Remove(VARIANT removeValue);
+ 	[id(5)] HRESULT RemoveAll();
+ 
+ 	[propget, id(DISPID_VALUE)] HRESULT Item(long nIndex, [out, retval] IDispatch** val);
+ 	[propput, id(DISPID_VALUE)] HRESULT Item(long nIndex, IDispatch* newValue);
+ 	[propget, id(DISPID_NEWENUM)] HRESULT _NewEnum([out, retval] IUnknown** e);
+ };
  
  // --------------------------- Gme IDL
***************
*** 58,60 ****
  	[propget, helpstring("property version")]
  	HRESULT version([out, retval] MgaInterfaceVersion_enum *pVal);
! }
--- 192,194 ----
  	[propget, helpstring("property version")]
  	HRESULT version([out, retval] MgaInterfaceVersion_enum *pVal);
! };

Index: InterfaceColl.h
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/Interfaces/InterfaceColl.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** InterfaceColl.h	20 Feb 2004 14:50:52 -0000	1.10
--- InterfaceColl.h	22 Jul 2004 14:05:37 -0000	1.11
***************
*** 89,92 ****
--- 89,93 ----
  	MGACOLL_COCLASS2(CLASSID, NAME##s, I##NAME##s)
  
+ 
  cpp_quote("#endif")
  

Index: InterfaceVersion.h
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/Interfaces/InterfaceVersion.h,v
retrieving revision 1.47
retrieving revision 1.48
diff -C2 -d -r1.47 -r1.48
*** InterfaceVersion.h	20 Jul 2004 16:01:39 -0000	1.47
--- InterfaceVersion.h	22 Jul 2004 14:05:37 -0000	1.48
***************
*** 8,12 ****
  // CHECKSUM MgaUtil.idl = 9A3E6BD6
  // CHECKSUM MgaDecorator.idl = E2851BB1
! // CHECKSUM Gme.idl = C27EAA7A
  // CHECKSUM Parser.idl = FF461681
  
--- 8,12 ----
  // CHECKSUM MgaUtil.idl = 9A3E6BD6
  // CHECKSUM MgaDecorator.idl = E2851BB1
! // CHECKSUM Gme.idl = 846205EB
  // CHECKSUM Parser.idl = FF461681
  
***************
*** 18,22 ****
  //  -- never decrease it
  cpp_quote("#ifndef INTERFACE_VERSION")
! cpp_quote("#define INTERFACE_VERSION 0x00020041")
  cpp_quote("#endif //INTERFACE_VERSION")
! #define INTERFACE_VERSION 0x00020041
--- 18,22 ----
  //  -- never decrease it
  cpp_quote("#ifndef INTERFACE_VERSION")
! cpp_quote("#define INTERFACE_VERSION 0x00020046")
  cpp_quote("#endif //INTERFACE_VERSION")
! #define INTERFACE_VERSION 0x00020046



More information about the GME-commit mailing list