Update of /cvsroot/mahogany/M/src/classes
In directory usw-pr-cvs1:/tmp/cvs-serv9276/src/classes
Modified Files:
MApplication.cpp
Log Message:
added --debug option to force mail subsystem debugging from command line
Index: MApplication.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/MApplication.cpp,v
retrieving revision 1.249
retrieving revision 1.250
diff -b -u -2 -r1.249 -r1.250
--- MApplication.cpp 15 Apr 2002 23:45:13 -0000 1.249
+++ MApplication.cpp 22 Apr 2002 10:12:06 -0000 1.250
@@ -164,4 +164,7 @@
mApplication = this;
+ // uninitialized yet
+ m_debugMail = -1;
+
ResetLastError();
}
@@ -463,4 +466,7 @@
}
+ // set the mail debugging flag: from now it's possible to open mail folders
+ m_debugMail = m_cmdLineOptions->debugMail;
+
// extend path for commands, look in M's dirs first
String pathEnv;
@@ -1246,4 +1252,11 @@
return *m_mimeManager;
+}
+
+bool MAppBase::IsMailDebuggingEnabled() const
+{
+ ASSERT_MSG( m_debugMail != -1, "command line not parsed yet!" );
+
+ return m_debugMail == TRUE;
}
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates