[GME-commit] GMESRC/GME/Gme GMEApp.cpp,1.137,1.138 GMEOLEData.h,1.11,1.12 GMEVersion.h,1.41,1.42 GmeLib.idl,1.10,1.11

gme-commit at list.isis.vanderbilt.edu gme-commit at list.isis.vanderbilt.edu
Tue Feb 28 19:57:08 CST 2006


Update of /project/gme-repository/GMESRC/GME/Gme
In directory escher:/tmp/cvs-serv26931/GME/Gme

Modified Files:
	GMEApp.cpp GMEOLEData.h GMEVersion.h GmeLib.idl 
Log Message:
Fixed problems with Dispatch-based drag&drop (python support)

CVS User: Peter Volgyesi, ISIS (volgy)

Index: GMEVersion.h
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Gme/GMEVersion.h,v
retrieving revision 1.41
retrieving revision 1.42
diff -C2 -d -r1.41 -r1.42
*** GMEVersion.h	18 Nov 2005 18:21:52 -0000	1.41
--- GMEVersion.h	28 Feb 2006 19:57:05 -0000	1.42
***************
*** 2,8 ****
  #define _GMEVERSION_H_
  
! #define GME_VERSION_MAJOR	5		// MAJOR = Last two digits of Year
! #define GME_VERSION_MINOR	11		// MINOR = Month
! #define GME_VERSION_PLEVEL	18		// PATCH LEVEL = Day
  
  #define _VERSION_STRING2(x)	#x 
--- 2,8 ----
  #define _GMEVERSION_H_
  
! #define GME_VERSION_MAJOR	6		// MAJOR = Last two digits of Year
! #define GME_VERSION_MINOR	2		// MINOR = Month
! #define GME_VERSION_PLEVEL	16		// PATCH LEVEL = Day
  
  #define _VERSION_STRING2(x)	#x 

Index: GmeLib.idl
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Gme/GmeLib.idl,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** GmeLib.idl	15 Apr 2005 18:24:10 -0000	1.10
--- GmeLib.idl	28 Feb 2006 19:57:05 -0000	1.11
***************
*** 18,21 ****
--- 18,29 ----
  	importlib("stdole2.tlb");
  
+ 	//  Class information for CMgaDataSource
+ 	[ uuid(FCB7DB63-9F59-46a6-9FEF-5C2679AEA69A) ]
+ 	coclass MgaDataSource
+ 	{
+ 		[default] interface IMgaDataSource;
+ 		interface ISupportErrorInfo;
+ 	};
+ 
  	//  Class information for CGMEOLEApp
  

Index: GMEOLEData.h
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Gme/GMEOLEData.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** GMEOLEData.h	15 Feb 2006 21:02:30 -0000	1.11
--- GMEOLEData.h	28 Feb 2006 19:57:05 -0000	1.12
***************
*** 34,37 ****
--- 34,38 ----
  	CGMEDataSource(IMgaProject *p)
  	{
+ 		EnableAutomation();
  		ASSERT( p != NULL ); 
  		project = p;

Index: GMEApp.cpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Gme/GMEApp.cpp,v
retrieving revision 1.137
retrieving revision 1.138
diff -C2 -d -r1.137 -r1.138
*** GMEApp.cpp	1 Feb 2006 19:48:18 -0000	1.137
--- GMEApp.cpp	28 Feb 2006 19:57:05 -0000	1.138
***************
*** 320,327 ****
  	// Updates system registry with all creatable classes (_OLECREATE)
  	// PETER: It works only with administrator priviledges
! 	// COleObjectFactory::UpdateRegistryAll();
  	
  	// Make sure the type library is registered or dual interface won't work.
! 	// AfxOleRegisterTypeLib(AfxGetInstanceHandle(), LIBID_GMELib);
  
  	// We don't want a new document at startup
--- 320,327 ----
  	// Updates system registry with all creatable classes (_OLECREATE)
  	// PETER: It works only with administrator priviledges
! 	COleObjectFactory::UpdateRegistryAll();
  	
  	// Make sure the type library is registered or dual interface won't work.
! 	AfxOleRegisterTypeLib(AfxGetInstanceHandle(), LIBID_GmeLib);
  
  	// We don't want a new document at startup



More information about the GME-commit mailing list