[GME-commit] GMESRC/GME/Parser MgaParser.cpp,1.14,1.15
gme-commit at list.isis.vanderbilt.edu
gme-commit at list.isis.vanderbilt.edu
Tue Mar 9 16:17:50 CST 2004
Update of /var/lib/gme/GMESRC/GME/Parser
In directory braindrain:/tmp/cvs-serv27201/Parser
Modified Files:
MgaParser.cpp
Log Message:
The MgaParser now sends the following notifications for bracketing the parsing process:
APPEVENT_XML_IMPORT_BEGIN, APPEVENT_XML_IMPORT_END
CVS User: volgy
Index: MgaParser.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/Parser/MgaParser.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** MgaParser.cpp 19 Jan 2003 18:49:00 -0000 1.14
--- MgaParser.cpp 9 Mar 2004 22:17:48 -0000 1.15
***************
*** 139,142 ****
--- 139,144 ----
manual_relid_mode = project_prefs_orig & MGAPREF_MANUAL_RELIDS ? true : false;
+ COMTHROW( project->Notify(APPEVENT_XML_IMPORT_BEGIN));
+
COMTHROW( project->CreateTerritory(NULL, PutOut(territory), NULL) );
COMTHROW( project->BeginTransaction(territory, TRANSACTION_NON_NESTED) );
***************
*** 214,217 ****
--- 216,220 ----
COMTHROW( project->CommitTransaction() );
+ COMTHROW( project->Notify(APPEVENT_XML_IMPORT_END));
project = NULL;
***************
*** 318,321 ****
--- 321,325 ----
project->put_Preferences(project_prefs_orig);
project->AbortTransaction();
+ project->Notify(APPEVENT_XML_IMPORT_END);
}
More information about the GME-commit
mailing list