[GME-commit] GMESRC/GME/MgaUtil MgaEventLogger.h,1.1,1.2
MgaEventLogger.cpp,1.1,1.2
gme-commit at list.isis.vanderbilt.edu
gme-commit at list.isis.vanderbilt.edu
Fri Jun 11 11:19:14 CDT 2004
Update of /var/lib/gme/GMESRC/GME/MgaUtil
In directory braindrain:/tmp/cvs-serv27315/GME/MgaUtil
Modified Files:
MgaEventLogger.h MgaEventLogger.cpp
Log Message:
Change function name from Initialize to StartLogging in IMgaEventLogger to make use more intuitive (better to do it now when nobody's using it yet)
CVS User: brianw
Index: MgaEventLogger.h
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/MgaUtil/MgaEventLogger.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** MgaEventLogger.h 10 Jun 2004 22:07:43 -0000 1.1
--- MgaEventLogger.h 11 Jun 2004 15:19:11 -0000 1.2
***************
*** 31,35 ****
public:
STDMETHOD(LogEvent)(BSTR eventMsg);
! STDMETHOD(Initialize)();
STDMETHOD(StopLogging)();
STDMETHOD(EmergencyEvent)();
--- 31,35 ----
public:
STDMETHOD(LogEvent)(BSTR eventMsg);
! STDMETHOD(StartLogging)();
STDMETHOD(StopLogging)();
STDMETHOD(EmergencyEvent)();
Index: MgaEventLogger.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/MgaUtil/MgaEventLogger.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** MgaEventLogger.cpp 10 Jun 2004 22:07:43 -0000 1.1
--- MgaEventLogger.cpp 11 Jun 2004 15:19:11 -0000 1.2
***************
*** 41,45 ****
}
! STDMETHODIMP CMgaEventLogger::Initialize()
{
if(!initialized) //if already initialized, don't do anything
--- 41,45 ----
}
! STDMETHODIMP CMgaEventLogger::StartLogging()
{
if(!initialized) //if already initialized, don't do anything
***************
*** 59,63 ****
initialized = true;
newLine = true;
! CComBSTR b = "CMgaEventLogger::Initialize\r\n";
LogEvent(b);
}
--- 59,63 ----
initialized = true;
newLine = true;
! CComBSTR b = "CMgaEventLogger::StartLogging\r\n";
LogEvent(b);
}
More information about the GME-commit
mailing list