From: John M. <mur...@us...> - 2005-03-06 01:40:46
|
Update of /cvsroot/sharpcvslib/sharpcvslib/src/SharpCvsAddIn/Events In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1947/Events Modified Files: SolutionEvents.cs Log Message: refactored classes that manage isolated storage and implemented solution update command Index: SolutionEvents.cs =================================================================== RCS file: /cvsroot/sharpcvslib/sharpcvslib/src/SharpCvsAddIn/Events/SolutionEvents.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** SolutionEvents.cs 26 Feb 2005 23:50:57 -0000 1.3 --- SolutionEvents.cs 6 Mar 2005 01:40:04 -0000 1.4 *************** *** 75,78 **** --- 75,79 ---- { controller_.SolutionCleanup(); + log_.Debug("AfterClosing event"); *************** *** 82,85 **** --- 83,87 ---- { log_.Debug("BeforeClosing event"); + controller_.SolutionClosing(); } *************** *** 88,100 **** { log_.Debug( "Solution opened event triggered" ); // in cvs controlled solution we need to check to see if user // wants add in to manage solution so we pop up a dialog box // to allow user to choose. If the solution was opened directly from cvs // this step is not needed - string solutionPath = Path.GetDirectoryName(controller_.DTE.Solution.FileName); - string cvsPath = Path.Combine( solutionPath, "CVS" ); - FileAttributes attr = File.GetAttributes( cvsPath ); ! if( (int)attr != -1 ) // check for existance { if( !controller_.AddinLoadedForSolution ) --- 90,100 ---- { log_.Debug( "Solution opened event triggered" ); + controller_.SolutionOpened(); // in cvs controlled solution we need to check to see if user // wants add in to manage solution so we pop up a dialog box // to allow user to choose. If the solution was opened directly from cvs // this step is not needed ! if( controller_.SolutionInCVS ) { if( !controller_.AddinLoadedForSolution ) *************** *** 108,111 **** --- 108,112 ---- return; } + } |