SF.net SVN: mahogany: [7281] trunk/M
[email protected] Tue, 05 Jun 2007 17:26:42 -0700
| Newsgroups | gmane.mail.mahogany.cvs |
|---|---|
| Message-ID | <[email protected]> |
Revision: 7281
http://svn.sourceforge.net/mahogany/?rev=7281&view=rev
Author: vadz
Date: 2007-06-05 17:26:42 -0700 (Tue, 05 Jun 2007)
Log Message:
-----------
remove all #pragmas interface/implementation as they prevent gcc from using PCH (would be nice if the docs mentioned this)
Modified Paths:
--------------
trunk/M/include/ASMailFolder.h
trunk/M/include/Address.h
trunk/M/include/AddressCC.h
trunk/M/include/CacheFile.h
trunk/M/include/ConfigSource.h
trunk/M/include/FolderMonitor.h
trunk/M/include/HeaderInfo.h
trunk/M/include/HeaderInfoImpl.h
trunk/M/include/LogCircle.h
trunk/M/include/MApplication.h
trunk/M/include/MDialogs.h
trunk/M/include/MFCache.h
trunk/M/include/MFilter.h
trunk/M/include/MFolder.h
trunk/M/include/MFrame.h
trunk/M/include/MImport.h
trunk/M/include/MModule.h
trunk/M/include/MailFolder.h
trunk/M/include/MailFolderCC.h
trunk/M/include/MailFolderCmn.h
trunk/M/include/Mdnd.h
trunk/M/include/MessageCC.h
trunk/M/include/MessageView.h
trunk/M/include/MimePartCC.h
trunk/M/include/MsgCmdProc.h
trunk/M/include/PathFinder.h
trunk/M/include/Profile.h
trunk/M/include/SendMessageCC.h
trunk/M/include/Sequence.h
trunk/M/include/Sorting.h
trunk/M/include/Threading.h
trunk/M/include/XFace.h
trunk/M/include/adb/AdbExport.h
trunk/M/include/adb/AdbImport.h
trunk/M/include/adb/AdbModule.h
trunk/M/include/gui/wxComposeView.h
trunk/M/include/gui/wxFiltersDialog.h
trunk/M/include/gui/wxFolderView.h
trunk/M/include/gui/wxIconManager.h
trunk/M/include/gui/wxMDialogs.h
trunk/M/include/gui/wxMFrame.h
trunk/M/include/gui/wxMainFrame.h
trunk/M/include/gui/wxMessageView.h
trunk/M/include/gui/wxllist.h
trunk/M/include/gui/wxlparser.h
trunk/M/include/gui/wxlwindow.h
trunk/M/include/mail/Driver.h
trunk/M/include/mail/FolderPool.h
trunk/M/include/mail/ServerInfo.h
trunk/M/include/mail/VFolder.h
trunk/M/include/mail/VMessage.h
trunk/M/include/wx/persctrl.h
trunk/M/include/wx/pprocess.h
trunk/M/include/wx/vcard.h
trunk/M/src/Python/InitPython.cpp
trunk/M/src/Python/PythonDll.cpp
trunk/M/src/Python/PythonHelp.cpp
trunk/M/src/adb/AdbExport.cpp
trunk/M/src/adb/AdbImport.cpp
trunk/M/src/adb/AdbModule.cpp
trunk/M/src/classes/CacheFile.cpp
trunk/M/src/classes/ConfigSource.cpp
trunk/M/src/classes/FolderMonitor.cpp
trunk/M/src/classes/IconList.cpp
trunk/M/src/classes/ListReceiver.cpp
trunk/M/src/classes/MApplication.cpp
trunk/M/src/classes/MFilter.cpp
trunk/M/src/classes/MFolder.cpp
trunk/M/src/classes/MModule.cpp
trunk/M/src/classes/MessageView.cpp
trunk/M/src/classes/PathFinder.cpp
trunk/M/src/classes/Profile.cpp
trunk/M/src/classes/Sequence.cpp
trunk/M/src/classes/XFace.cpp
trunk/M/src/gui/MImport.cpp
trunk/M/src/gui/Mdnd.cpp
trunk/M/src/gui/wxComposeView.cpp
trunk/M/src/gui/wxFiltersDialog.cpp
trunk/M/src/gui/wxFolderView.cpp
trunk/M/src/gui/wxIconManager.cpp
trunk/M/src/gui/wxMDialogs.cpp
trunk/M/src/gui/wxMFrame.cpp
trunk/M/src/gui/wxMainFrame.cpp
trunk/M/src/gui/wxMessageView.cpp
trunk/M/src/gui/wxMsgCmdProc.cpp
trunk/M/src/gui/wxllist.cpp
trunk/M/src/gui/wxlparser.cpp
trunk/M/src/gui/wxlwindow.cpp
trunk/M/src/mail/ASMailFolder.cpp
trunk/M/src/mail/Address.cpp
trunk/M/src/mail/AddressCC.cpp
trunk/M/src/mail/HeaderInfoImpl.cpp
trunk/M/src/mail/LogCircle.cpp
trunk/M/src/mail/MFCache.cpp
trunk/M/src/mail/MFDriver.cpp
trunk/M/src/mail/MFPool.cpp
trunk/M/src/mail/MailFolder.cpp
trunk/M/src/mail/MailFolderCC.cpp
trunk/M/src/mail/MailFolderCmn.cpp
trunk/M/src/mail/Message.cpp
trunk/M/src/mail/MessageCC.cpp
trunk/M/src/mail/MimePartCC.cpp
trunk/M/src/mail/SendMessageCC.cpp
trunk/M/src/mail/Sorting.cpp
trunk/M/src/mail/Threading.cpp
trunk/M/src/mail/VFolder.cpp
trunk/M/src/mail/VMessage.cpp
trunk/M/src/modules/Filters.cpp
trunk/M/src/modules/Migrate.cpp
trunk/M/src/wx/common/vcard.cpp
trunk/M/src/wx/generic/persctrl.cpp
trunk/M/src/wx/generic/vcarddlg.cpp
Modified: trunk/M/include/ASMailFolder.h
===================================================================
--- trunk/M/include/ASMailFolder.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/ASMailFolder.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -14,11 +14,6 @@
#ifndef ASMAILFOLDER_H
#define ASMAILFOLDER_H
-#ifdef __GNUG__
-# pragma interface "ASMailFolder.h"
-#endif
-
-
// forward declarations
class FolderView;
class Profile;
Modified: trunk/M/include/Address.h
===================================================================
--- trunk/M/include/Address.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/Address.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -13,10 +13,6 @@
#ifndef _ADDRESS_H_
#define _ADDRESS_H_
-#ifdef __GNUG__
- #pragma interface "Address.h"
-#endif
-
#include "MObject.h"
class Profile;
Modified: trunk/M/include/AddressCC.h
===================================================================
--- trunk/M/include/AddressCC.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/AddressCC.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -13,10 +13,6 @@
#ifndef _ADDRESSCC_H_
#define _ADDRESSCC_H_
-#ifdef __GNUG__
- #pragma interface "AddressCC.h"
-#endif
-
#include "Address.h"
// cclient's ADDRESS is #defined as struct mail_address, but we don't have this
Modified: trunk/M/include/CacheFile.h
===================================================================
--- trunk/M/include/CacheFile.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/CacheFile.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -13,10 +13,6 @@
#ifndef _M_CACHEFILE_H_
#define _M_CACHEFILE_H_
-#ifdef __GNUG__
- #pragma interface "CacheFile.h"
-#endif
-
class WXDLLEXPORT wxTempFile;
class WXDLLEXPORT wxTextFile;
Modified: trunk/M/include/ConfigSource.h
===================================================================
--- trunk/M/include/ConfigSource.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/ConfigSource.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -34,10 +34,6 @@
#ifndef _M_CONFIGSOURCE_H_
#define _M_CONFIGSOURCE_H_
-#ifdef __GNUG__
- #pragma interface "ConfigSource.h"
-#endif
-
#include "MObject.h" // for MObjectRC
#include "MModule.h"
Modified: trunk/M/include/FolderMonitor.h
===================================================================
--- trunk/M/include/FolderMonitor.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/FolderMonitor.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -13,10 +13,6 @@
#ifndef _FOLDERMONITOR_H_
#define _FOLDERMONITOR_H_
-#ifdef __GNUG__
- #pragma interface "FolderMonitor.h"
-#endif
-
class MFolder;
/**
Modified: trunk/M/include/HeaderInfo.h
===================================================================
--- trunk/M/include/HeaderInfo.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/HeaderInfo.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -15,10 +15,6 @@
#ifndef HEADERINFO_H
#define HEADERINFO_H
-#ifdef __GNUG__
-# pragma interface "HeaderInfo.h"
-#endif
-
#include <wx/fontenc.h> // for wxFontEncoding
#include "MailFolder.h" // for MailFolder::MessageStatus
Modified: trunk/M/include/HeaderInfoImpl.h
===================================================================
--- trunk/M/include/HeaderInfoImpl.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/HeaderInfoImpl.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -10,14 +10,9 @@
// Licence: M license
///////////////////////////////////////////////////////////////////////////////
-
#ifndef HEADERINFOIMPL_H
#define HEADERINFOIMPL_H
-#ifdef __GNUG__
-# pragma interface "HeaderInfoImpl.h"
-#endif
-
#ifndef USE_PCH
#include "Sorting.h"
#include "Threading.h"
Modified: trunk/M/include/LogCircle.h
===================================================================
--- trunk/M/include/LogCircle.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/LogCircle.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -13,10 +13,6 @@
#ifndef _LOGCIRCLE_H_
#define _LOGCIRCLE_H_
-#ifdef __GNUG__
- #pragma interface "LogCircle.h"
-#endif
-
// ----------------------------------------------------------------------------
// MLogCircle
// ----------------------------------------------------------------------------
Modified: trunk/M/include/MApplication.h
===================================================================
--- trunk/M/include/MApplication.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/MApplication.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -9,10 +9,6 @@
#ifndef MAPPLICATION_H
#define MAPPLICATION_H
-#ifdef __GNUG__
-# pragma interface "MApplication.h"
-#endif
-
#ifndef USE_PCH
# include "Merror.h"
#endif // USE_PCH
Modified: trunk/M/include/MDialogs.h
===================================================================
--- trunk/M/include/MDialogs.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/MDialogs.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -11,10 +11,6 @@
#ifndef MDIALOGS_H
#define MDIALOGS_H
-#ifdef __GNUG__
-#pragma interface "MDialogs.h"
-#endif
-
/// Generic title prefix for all top level windows
#define M_TITLE_PREFIX _("Mahogany: ")
Modified: trunk/M/include/MFCache.h
===================================================================
--- trunk/M/include/MFCache.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/MFCache.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -13,10 +13,6 @@
#ifndef _MFCACHE_H_
#define _MFCACHE_H_
-#ifdef __GNUG__
-# pragma interface "MFCache.h"
-#endif
-
#ifndef USE_PCH
# include <wx/dynarray.h> // for WX_DEFINE_ARRAY
#endif // USE_PCH
Modified: trunk/M/include/MFilter.h
===================================================================
--- trunk/M/include/MFilter.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/MFilter.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -9,10 +9,6 @@
#ifndef _MFILTER_H
#define _MFILTER_H
-#ifdef __GNUG__
-# pragma interface "MFilter.h"
-#endif
-
#ifndef USE_PCH
# include "Profile.h"
#endif // USE_PCH
Modified: trunk/M/include/MFolder.h
===================================================================
--- trunk/M/include/MFolder.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/MFolder.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -13,10 +13,6 @@
#ifndef _MFOLDER_H
#define _MFOLDER_H
-#ifdef __GNUG__
-# pragma interface "MFolder.h"
-#endif
-
#ifndef USE_PCH
# include "FolderType.h"
# include "Profile.h"
Modified: trunk/M/include/MFrame.h
===================================================================
--- trunk/M/include/MFrame.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/MFrame.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -9,10 +9,6 @@
#ifndef MFRAME_H
#define MFRAME_H
-//#ifdef __GNUG__
-//#pragma interface "MFrame.h"
-//#endif
-
/**
MFrameBase virtual base class, defining the interface for a window.
Every window should have a unique name associated with it for use
Modified: trunk/M/include/MImport.h
===================================================================
--- trunk/M/include/MImport.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/MImport.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -17,10 +17,6 @@
#ifndef _MIMPORT_H_
#define _MIMPORT_H_
-#ifdef __GNUG__
- #pragma interface "MImport.h"
-#endif
-
#include "MModule.h" // the base class
class MFolder;
Modified: trunk/M/include/MModule.h
===================================================================
--- trunk/M/include/MModule.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/MModule.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -8,13 +8,6 @@
#ifndef MMODULE_H
#define MMODULE_H
-/* we can't use this #pragma here as otherwise the vtbl is not linked into
- the modules and they fail to load!
-#ifdef __GNUG__
-# pragma interface "MModule.h"
-#endif
-*/
-
// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
Modified: trunk/M/include/MailFolder.h
===================================================================
--- trunk/M/include/MailFolder.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/MailFolder.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -13,10 +13,6 @@
#ifndef _MAILFOLDER_H
#define _MAILFOLDER_H
-#ifdef __GNUG__
-# pragma interface "MailFolder.h"
-#endif
-
#ifndef USE_PCH
# include "FolderType.h"
#endif // USE_PCH
Modified: trunk/M/include/MailFolderCC.h
===================================================================
--- trunk/M/include/MailFolderCC.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/MailFolderCC.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -13,10 +13,6 @@
#ifndef MAILFOLDERCC_H
#define MAILFOLDERCC_H
-#ifdef __GNUG__
-# pragma interface "MailFolderCC.h"
-#endif
-
#ifndef USE_PCH
# include "Mcclient.h"
#endif // USE_PCH
Modified: trunk/M/include/MailFolderCmn.h
===================================================================
--- trunk/M/include/MailFolderCmn.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/MailFolderCmn.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -15,10 +15,6 @@
#ifndef MAILFOLDERCMN_H
#define MAILFOLDERCMN_H
-#ifdef __GNUG__
-# pragma interface "MailFolderCmn.h"
-#endif
-
#include "MailFolder.h" // for MailFolder
#ifndef USE_PCH
Modified: trunk/M/include/Mdnd.h
===================================================================
--- trunk/M/include/Mdnd.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/Mdnd.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -13,10 +13,6 @@
#ifndef _MDND_H_
#define _MDND_H_
-#ifdef __GNUG__
- #pragma interface "Mdnd.h"
-#endif
-
#include "MailFolder.h"
#include <wx/dnd.h>
Modified: trunk/M/include/MessageCC.h
===================================================================
--- trunk/M/include/MessageCC.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/MessageCC.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -13,10 +13,6 @@
#ifndef _MESSAGECC_H
#define _MESSAGECC_H
-#ifdef __GNUG__
- #pragma interface "MessageCC.h"
-#endif
-
#ifndef USE_PCH
# include "Mcclient.h" // for ADDRESS
#endif //USE_PCH
Modified: trunk/M/include/MessageView.h
===================================================================
--- trunk/M/include/MessageView.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/MessageView.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -14,10 +14,6 @@
#ifndef _M_MESSAGEVIEW_H_
#define _M_MESSAGEVIEW_H_
-#ifdef __GNUG__
- #pragma interface "MessageView.h"
-#endif
-
#ifndef USE_PCH
#include <wx/dynarray.h> // for WX_DEFINE_ARRAY
#include "Mdefaults.h" // for MAction enum
Modified: trunk/M/include/MimePartCC.h
===================================================================
--- trunk/M/include/MimePartCC.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/MimePartCC.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -13,10 +13,6 @@
#ifndef _MIMEPARTCC_H_
#define _MIMEPARTCC_H_
-#ifdef __GNUG__
- #pragma interface "MimePartCC.h"
-#endif
-
// base class
#include "MimePartCCBase.h"
Modified: trunk/M/include/MsgCmdProc.h
===================================================================
--- trunk/M/include/MsgCmdProc.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/MsgCmdProc.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -19,10 +19,6 @@
#ifndef _MSGCMDPROC_H_
#define _MSGCMDPROC_H_
-#ifdef __GNUG__
- #pragma interface "MsgCmdProc.h"
-#endif
-
class ASMailFolder;
class MessageView;
class MFolder;
Modified: trunk/M/include/PathFinder.h
===================================================================
--- trunk/M/include/PathFinder.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/PathFinder.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -11,10 +11,6 @@
#ifndef PATHFINDER_H
#define PATHFINDER_H
-#ifdef __GNUG__
-# pragma interface "PathFinder.h"
-#endif
-
#include "MObject.h"
/**@name PathFinder class for finding files */
Modified: trunk/M/include/Profile.h
===================================================================
--- trunk/M/include/Profile.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/Profile.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -13,10 +13,6 @@
#ifndef PROFILE_H
#define PROFILE_H
-#ifdef __GNUG__
-# pragma interface "Profile.h"
-#endif
-
// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
Modified: trunk/M/include/SendMessageCC.h
===================================================================
--- trunk/M/include/SendMessageCC.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/SendMessageCC.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -13,10 +13,6 @@
#ifndef _SENDMESSAGECC_H
#define _SENDMESSAGECC_H
-#ifdef __GNUG__
-# pragma interface "SendMessageCC.h"
-#endif
-
#ifndef USE_PCH
# include "Mcclient.h"
#endif //USE_PCH
Modified: trunk/M/include/Sequence.h
===================================================================
--- trunk/M/include/Sequence.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/Sequence.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -17,10 +17,6 @@
#ifndef _SEQUENCE_H_
#define _SEQUENCE_H_
-#ifdef __GNUG__
- #pragma interface "Sequence.h"
-#endif
-
class UIdArray;
// ----------------------------------------------------------------------------
Modified: trunk/M/include/Sorting.h
===================================================================
--- trunk/M/include/Sorting.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/Sorting.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -13,10 +13,6 @@
#ifndef _SORTING_H_
#define _SORTING_H_
-#ifdef __GNUG__
- #pragma interface "Sorting.h"
-#endif
-
#ifndef USE_PCH
# include <wx/dynarray.h> // for wxArrayInt
#endif // USE_PCH
Modified: trunk/M/include/Threading.h
===================================================================
--- trunk/M/include/Threading.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/Threading.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -13,10 +13,6 @@
#ifndef _THREADING_H_
#define _THREADING_H_
-#ifdef __GNUG__
- #pragma interface "Threading.h"
-#endif
-
#ifndef USE_PCH
#endif // USE_PCH
Modified: trunk/M/include/XFace.h
===================================================================
--- trunk/M/include/XFace.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/XFace.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -9,10 +9,6 @@
#ifndef XFACE_H
#define XFACE_H
-#ifdef __GNUG__
-# pragma interface "XFace.h"
-#endif
-
#ifndef XFACE_WITH_WXIMAGE
#define XFACE_WITH_WXIMAGE 1
#endif
Modified: trunk/M/include/adb/AdbExport.h
===================================================================
--- trunk/M/include/adb/AdbExport.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/adb/AdbExport.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -14,10 +14,6 @@
#ifndef _ADBEXPORT_H
#define _ADBEXPORT_H
-#ifdef __GNUG__
-# pragma interface "AdbExport.h"
-#endif
-
#include "AdbModule.h" // the base class declaration
class AdbEntry;
Modified: trunk/M/include/adb/AdbImport.h
===================================================================
--- trunk/M/include/adb/AdbImport.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/adb/AdbImport.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -14,10 +14,6 @@
#ifndef _ADBIMPORT_H
#define _ADBIMPORT_H
-#ifdef __GNUG__
- #pragma interface "AdbImport.h"
-#endif
-
#include "adb/AdbModule.h" // the base class
// some forward declarations
Modified: trunk/M/include/adb/AdbModule.h
===================================================================
--- trunk/M/include/adb/AdbModule.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/adb/AdbModule.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -15,10 +15,6 @@
#ifndef _ADB_MODULE_H_
#define _ADB_MODULE_H_
-#ifdef __GNUG__
- #pragma interface "AdbModule.h"
-#endif
-
// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
Modified: trunk/M/include/gui/wxComposeView.h
===================================================================
--- trunk/M/include/gui/wxComposeView.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/gui/wxComposeView.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -17,10 +17,6 @@
// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
-# pragma interface "wxComposeView.h"
-#endif
-
#ifndef USE_PCH
# include "gui/wxMFrame.h"
# include "kbList.h"
Modified: trunk/M/include/gui/wxFiltersDialog.h
===================================================================
--- trunk/M/include/gui/wxFiltersDialog.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/gui/wxFiltersDialog.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -14,10 +14,6 @@
#ifndef _WXFILTERSDIALOG_H_
#define _WXFILTERSDIALOG_H_
-#ifdef __GNUG__
- #pragma interface "wxFiltersDialog.h"
-#endif
-
// ----------------------------------------------------------------------------
// constants
// ----------------------------------------------------------------------------
Modified: trunk/M/include/gui/wxFolderView.h
===================================================================
--- trunk/M/include/gui/wxFolderView.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/gui/wxFolderView.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -13,10 +13,6 @@
#ifndef WXFOLDERVIEW_H
#define WXFOLDERVIEW_H
-#ifdef __GNUG__
- #pragma interface "wxFolderView.h"
-#endif
-
#ifndef USE_PCH
# include "Mdefaults.h"
# include "gui/wxMFrame.h"
Modified: trunk/M/include/gui/wxIconManager.h
===================================================================
--- trunk/M/include/gui/wxIconManager.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/gui/wxIconManager.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -9,10 +9,6 @@
#ifndef WXICONMANAGER_H
#define WXICONMANAGER_H
-#ifdef __GNUG__
-#pragma interface "wxIconManager.h"
-#endif
-
#ifndef USE_PCH
# include "kbList.h"
Modified: trunk/M/include/gui/wxMDialogs.h
===================================================================
--- trunk/M/include/gui/wxMDialogs.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/gui/wxMDialogs.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -9,10 +9,6 @@
#ifndef WXMDIALOGS_H
#define WXMDIALOGS_H
-#ifdef __GNUG__
-#pragma interface "wxMDialogs.h"
-#endif
-
#ifndef USE_PCH
# include "FolderType.h"
# include "MApplication.h"
Modified: trunk/M/include/gui/wxMFrame.h
===================================================================
--- trunk/M/include/gui/wxMFrame.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/gui/wxMFrame.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -13,10 +13,6 @@
#ifndef WXMFRAME_H
#define WXMFRAME_H
-#ifdef __GNUG__
-# pragma interface "wxMFrame.h"
-#endif
-
#ifndef USE_PCH
# include "MFrame.h"
# include "guidef.h"
Modified: trunk/M/include/gui/wxMainFrame.h
===================================================================
--- trunk/M/include/gui/wxMainFrame.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/gui/wxMainFrame.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -12,10 +12,6 @@
#ifndef _GUI_MAINFRAME_H_
#define _GUI_MAINFRAME_H_
-#ifdef __GNUG__
-# pragma interface "wxMainFrame.h"
-#endif
-
#ifndef USE_PCH
# include "gui/wxMFrame.h"
#endif // USE_PCH
Modified: trunk/M/include/gui/wxMessageView.h
===================================================================
--- trunk/M/include/gui/wxMessageView.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/gui/wxMessageView.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -14,10 +14,6 @@
#ifndef WXMESSAGEVIEW_H
#define WXMESSAGEVIEW_H
-#ifdef __GNUG__
-# pragma interface "wxMessageView.h"
-#endif
-
#ifndef USE_PCH
# include "gui/wxMFrame.h"
# include "FolderType.h"
Modified: trunk/M/include/gui/wxllist.h
===================================================================
--- trunk/M/include/gui/wxllist.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/gui/wxllist.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -10,10 +10,6 @@
#ifndef WXLLIST_H
#define WXLLIST_H
-#ifdef __GNUG__
-# pragma interface "wxllist.h"
-#endif
-
#ifndef USE_PCH
# include "kbList.h"
#endif // USE_PCH
Modified: trunk/M/include/gui/wxlparser.h
===================================================================
--- trunk/M/include/gui/wxlparser.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/gui/wxlparser.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -8,10 +8,6 @@
#ifndef WXLPARSER_H
# define WXLPARSER_H
-#ifdef __GNUG__
-# pragma interface "wxlparser.h"
-#endif
-
#include <wx/fontenc.h> // enum wxFontEncoding declaration
#include "gui/wxllist.h"
Modified: trunk/M/include/gui/wxlwindow.h
===================================================================
--- trunk/M/include/gui/wxlwindow.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/gui/wxlwindow.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -8,10 +8,6 @@
#ifndef WXLWINDOW_H
#define WXLWINDOW_H
-#ifdef __GNUG__
-# pragma interface "wxlwindow.h"
-#endif
-
#include "gui/wxllist.h"
#include <wx/scrolwin.h>
Modified: trunk/M/include/mail/Driver.h
===================================================================
--- trunk/M/include/mail/Driver.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/mail/Driver.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -13,10 +13,6 @@
#ifndef _MAIL_DRIVER_H_
#define _MAIL_DRIVER_H_
-#ifdef __GNUG__
- #pragma interface "MFDriver.h"
-#endif
-
#include "MailFolder.h"
// ----------------------------------------------------------------------------
Modified: trunk/M/include/mail/FolderPool.h
===================================================================
--- trunk/M/include/mail/FolderPool.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/mail/FolderPool.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -13,10 +13,6 @@
#ifndef _MAIL_FOLDERPOOL_H_
#define _MAIL_FOLDERPOOL_H_
-#ifdef __GNUG__
- #pragma interface "MFPool.h"
-#endif
-
class MailFolder;
class MFolder;
class MFDriver;
Modified: trunk/M/include/mail/ServerInfo.h
===================================================================
--- trunk/M/include/mail/ServerInfo.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/mail/ServerInfo.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -13,10 +13,6 @@
#ifndef _MAIL_SERVERINFO_H
#define _MAIL_SERVERINFO_H
-#ifdef __GNUG__
- #pragma interface "ServerInfo.h"
-#endif
-
#include "lists.h"
#include "MFolder.h"
Modified: trunk/M/include/mail/VFolder.h
===================================================================
--- trunk/M/include/mail/VFolder.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/mail/VFolder.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -14,10 +14,6 @@
#ifndef _MAIL_VOLFDER_H_
#define _MAIL_VOLFDER_H_
-#ifdef __GNUG__
- #pragma interface "VFolder.h"
-#endif
-
#include "MailFolderCmn.h"
#ifndef USE_PCH
Modified: trunk/M/include/mail/VMessage.h
===================================================================
--- trunk/M/include/mail/VMessage.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/mail/VMessage.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -15,10 +15,6 @@
#ifndef _MAIL_VMESSAGE_H_
#define _MAIL_VMESSAGE_H_
-#ifdef __GNUG__
- #pragma interface "VMessage.h"
-#endif
-
#include "Message.h"
// ----------------------------------------------------------------------------
Modified: trunk/M/include/wx/persctrl.h
===================================================================
--- trunk/M/include/wx/persctrl.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/wx/persctrl.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -12,10 +12,6 @@
#ifndef _WX_PWINDOW_H_
#define _WX_PWINDOW_H_
-#ifdef __GNUG__
-# pragma interface "persctrl.h"
-#endif
-
// forward declarations
class wxConfigBase;
class wxPHelper;
Modified: trunk/M/include/wx/pprocess.h
===================================================================
--- trunk/M/include/wx/pprocess.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/wx/pprocess.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -14,10 +14,6 @@
#ifndef _WX_PPROCESSH__
#define _WX_PPROCESSH__
-#ifdef __GNUG_
- #pragma interface "pprocess.h"
-#endif
-
#ifdef EXPERIMENTAL
#ifndef USE_PCH
Modified: trunk/M/include/wx/vcard.h
===================================================================
--- trunk/M/include/wx/vcard.h 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/include/wx/vcard.h 2007-06-06 00:26:42 UTC (rev 7281)
@@ -12,10 +12,6 @@
#ifndef _WX_VCARD_H_
#define _WX_VCARD_H_
-#ifdef __GNUG__
- #pragma interface "vcard.h"
-#endif
-
// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
Modified: trunk/M/src/Python/InitPython.cpp
===================================================================
--- trunk/M/src/Python/InitPython.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/Python/InitPython.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -130,9 +130,8 @@
pythonPathNew << PATH_SEPARATOR << pythonPathOld;
}
- // on some systems putenv() takes "char *", cast silents the warnings but
- // should be harmless otherwise
- putenv((char *)pythonPathNew.mb_str());
+ // on some systems putenv() takes "char *" so give it non-const pointer
+ putenv(pythonPathNew.char_str());
if ( !READ_APPCONFIG(MP_USEPYTHON) )
{
@@ -161,7 +160,7 @@
if ( !startScript.empty() )
{
- PyObject *moduleInit = PyImport_ImportModule((char *)startScript.mb_str());
+ PyObject *moduleInit = PyImport_ImportModule(startScript.char_str());
if ( !CheckPyError() || !moduleInit )
{
Modified: trunk/M/src/Python/PythonDll.cpp
===================================================================
--- trunk/M/src/Python/PythonDll.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/Python/PythonDll.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -224,14 +224,14 @@
#define PYTHON_PROC void *
#endif
-#define PYTHON_SYMBOL(func) { _T(#func), NULL, (PYTHON_PROC *)&M_ ## func },
-#define PYTHON_FUNC_ALT(func, alt) { _T(#func), _T(#alt), (PYTHON_PROC *)&M_ ## func },
+#define PYTHON_SYMBOL(func) { #func, NULL, (PYTHON_PROC *)&M_ ## func },
+#define PYTHON_FUNC_ALT(func, alt) { #func, #alt, (PYTHON_PROC *)&M_ ## func },
static struct PythonFunc
{
- const wxChar *name; // normal function name
- const wxChar *nameAlt; // alternative name for Debug build
- PYTHON_PROC *ptr; // function pointer
+ const char *name; // normal function name
+ const char *nameAlt; // alternative name for Debug build
+ PYTHON_PROC *ptr; // function pointer
} pythonFuncs[] =
{
// startup/shutdown
Modified: trunk/M/src/Python/PythonHelp.cpp
===================================================================
--- trunk/M/src/Python/PythonHelp.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/Python/PythonHelp.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -45,6 +45,10 @@
#include "Mdefaults.h"
+// macro to pass a string to Python: not sure if it should use the current
+// locale encoding (as now) or UTF-8 or maybe wchar_t?
+#define PYTHON_STR(s) ((const char *)(s).mb_str())
+
// ----------------------------------------------------------------------------
// options we use here
// ----------------------------------------------------------------------------
@@ -161,7 +165,7 @@
}
// load the module containing the function
- *module = PyImport_ImportModule((char *)modname.mb_str());
+ *module = PyImport_ImportModule(modname.char_str());
if ( !*module )
{
@@ -181,7 +185,7 @@
}
//else: if reloading failed, fall back to the original module
- *function = PyObject_GetAttrString(*module, (char *)functionName.mb_str());
+ *function = PyObject_GetAttrString(*module, functionName.char_str());
if ( !*function )
{
Py_XDECREF(*module);
@@ -260,20 +264,20 @@
break;
case 1:
- rc = PyObject_CallFunction(function, "s", arguments[0].mb_str());
+ rc = PyObject_CallFunction(function, "s", PYTHON_STR(arguments[0]));
break;
case 2:
rc = PyObject_CallFunction(function, "ss",
- arguments[0].mb_str(),
- arguments[1].mb_str());
+ PYTHON_STR(arguments[0]),
+ PYTHON_STR(arguments[1]));
break;
case 3:
rc = PyObject_CallFunction(function, "sss",
- arguments[0].mb_str(),
- arguments[1].mb_str(),
- arguments[2].mb_str());
+ PYTHON_STR(arguments[0]),
+ PYTHON_STR(arguments[1]),
+ PYTHON_STR(arguments[2]));
break;
default:
@@ -355,8 +359,7 @@
return false;
}
- M_PyObject rc = PyRun_String(const_cast<char *>(execCmd.mb_str()),
- Py_file_input, dict, dict);
+ M_PyObject rc = PyRun_String(PYTHON_STR(execCmd), Py_file_input, dict, dict);
if ( !rc )
{
String err = PythonGetErrorMessage();
Modified: trunk/M/src/adb/AdbExport.cpp
===================================================================
--- trunk/M/src/adb/AdbExport.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/adb/AdbExport.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -14,10 +14,6 @@
// declarations
// ============================================================================
-#ifdef __GNUG__
- #pragma implementation "AdbExport.h"
-#endif
-
// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
Modified: trunk/M/src/adb/AdbImport.cpp
===================================================================
--- trunk/M/src/adb/AdbImport.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/adb/AdbImport.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -16,10 +16,6 @@
// declarations
// ============================================================================
-#ifdef __GNUG__
- #pragma implementation "AdbImport.h"
-#endif
-
// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
Modified: trunk/M/src/adb/AdbModule.cpp
===================================================================
--- trunk/M/src/adb/AdbModule.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/adb/AdbModule.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -18,10 +18,6 @@
// declarations
// ============================================================================
-#ifdef __GNUG__
- #pragma implementation "AdbModule.h"
-#endif
-
// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
Modified: trunk/M/src/classes/CacheFile.cpp
===================================================================
--- trunk/M/src/classes/CacheFile.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/classes/CacheFile.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -14,10 +14,6 @@
// declarations
// ============================================================================
-#ifdef __GNUG__
- #pragma implementation "CacheFile.h"
-#endif
-
// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
Modified: trunk/M/src/classes/ConfigSource.cpp
===================================================================
--- trunk/M/src/classes/ConfigSource.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/classes/ConfigSource.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -14,10 +14,6 @@
// declarations
// ============================================================================
-#ifdef __GNUG__
- #pragma implementation "ConfigSource.h"
-#endif
-
// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
Modified: trunk/M/src/classes/FolderMonitor.cpp
===================================================================
--- trunk/M/src/classes/FolderMonitor.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/classes/FolderMonitor.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -15,10 +15,6 @@
// declarations
// ============================================================================
-#ifdef __GNUG__
- #pragma implementation "FolderMonitor.h"
-#endif
-
// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
Modified: trunk/M/src/classes/IconList.cpp
===================================================================
--- trunk/M/src/classes/IconList.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/classes/IconList.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -18,10 +18,6 @@
*
*******************************************************************/
-#ifdef __GNUG__
-#pragma implementation "PersistentList.h"
-#endif
-
#include <PersistentList.h>
#if wxUSE_IOSTREAMH
Modified: trunk/M/src/classes/ListReceiver.cpp
===================================================================
--- trunk/M/src/classes/ListReceiver.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/classes/ListReceiver.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -18,10 +18,6 @@
// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
- #pragma implementation "MFPool.h"
-#endif
-
#include "Mpch.h"
#ifndef USE_PCH
Modified: trunk/M/src/classes/MApplication.cpp
===================================================================
--- trunk/M/src/classes/MApplication.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/classes/MApplication.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -7,10 +7,6 @@
* *
*******************************************************************/
-#ifdef __GNUG__
-# pragma implementation "MApplication.h"
-#endif
-
// ============================================================================
// declarations
// ============================================================================
Modified: trunk/M/src/classes/MFilter.cpp
===================================================================
--- trunk/M/src/classes/MFilter.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/classes/MFilter.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -11,10 +11,6 @@
// Licence: M license
///////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
-# pragma implementation "MFilter.h"
-#endif
-
// ============================================================================
// declarations
// ============================================================================
Modified: trunk/M/src/classes/MFolder.cpp
===================================================================
--- trunk/M/src/classes/MFolder.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/classes/MFolder.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -10,10 +10,6 @@
// Licence: M license
///////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
-# pragma implementation "MFolder.h"
-#endif
-
// ============================================================================
// declarations
// ============================================================================
Modified: trunk/M/src/classes/MModule.cpp
===================================================================
--- trunk/M/src/classes/MModule.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/classes/MModule.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -12,12 +12,6 @@
* modules is then kept at >1, so they will never get unloaded.
*/
-/* see the comment in the header
-#ifdef __GNUG__
-# pragma implementation "MModule.h"
-#endif
-*/
-
// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
Modified: trunk/M/src/classes/MessageView.cpp
===================================================================
--- trunk/M/src/classes/MessageView.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/classes/MessageView.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -21,10 +21,6 @@
// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
-# pragma implementation "MessageView.h"
-#endif
-
#include "Mpch.h"
#ifndef USE_PCH
Modified: trunk/M/src/classes/PathFinder.cpp
===================================================================
--- trunk/M/src/classes/PathFinder.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/classes/PathFinder.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -12,10 +12,6 @@
duplicate the code needlessly here!
*/
-#ifdef __GNUG__
-# pragma implementation "PathFinder.h"
-#endif
-
#include "Mpch.h"
#ifndef USE_PCH
Modified: trunk/M/src/classes/Profile.cpp
===================================================================
--- trunk/M/src/classes/Profile.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/classes/Profile.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -10,10 +10,6 @@
// Licence: M licence
///////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
- #pragma implementation "Profile.h"
-#endif
-
// ============================================================================
// declarations
// ============================================================================
Modified: trunk/M/src/classes/Sequence.cpp
===================================================================
--- trunk/M/src/classes/Sequence.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/classes/Sequence.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -22,10 +22,6 @@
// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
- #pragma implementation "Sequence.h"
-#endif
-
#include "Mpch.h"
#ifndef USE_PCH
Modified: trunk/M/src/classes/XFace.cpp
===================================================================
--- trunk/M/src/classes/XFace.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/classes/XFace.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -6,10 +6,6 @@
* $Id$
*******************************************************************/
-#ifdef __GNUG__
-#pragma implementation "XFace.h"
-#endif
-
#include "Mpch.h"
#ifndef USE_PCH
Modified: trunk/M/src/gui/MImport.cpp
===================================================================
--- trunk/M/src/gui/MImport.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/gui/MImport.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -18,10 +18,6 @@
// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
- #pragma implementation "MImport.h"
-#endif
-
#include "Mpch.h"
#ifndef USE_PCH
Modified: trunk/M/src/gui/Mdnd.cpp
===================================================================
--- trunk/M/src/gui/Mdnd.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/gui/Mdnd.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -18,10 +18,6 @@
// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
- #pragma implementation "Mdnd.h"
-#endif
-
#include "Mpch.h"
#if wxUSE_DRAG_AND_DROP
Modified: trunk/M/src/gui/wxComposeView.cpp
===================================================================
--- trunk/M/src/gui/wxComposeView.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/gui/wxComposeView.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -18,18 +18,6 @@
// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
-# pragma implementation "wxComposeView.h"
-#endif
-
-// ============================================================================
-// declarations
-// ============================================================================
-
-// ----------------------------------------------------------------------------
-// headers
-// ----------------------------------------------------------------------------
-
#include "Mpch.h"
#ifndef USE_PCH
Modified: trunk/M/src/gui/wxFiltersDialog.cpp
===================================================================
--- trunk/M/src/gui/wxFiltersDialog.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/gui/wxFiltersDialog.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -18,10 +18,6 @@
// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
- #pragma implementation "wxFiltersDialog.h"
-#endif
-
#include "Mpch.h"
#ifndef USE_PCH
Modified: trunk/M/src/gui/wxFolderView.cpp
===================================================================
--- trunk/M/src/gui/wxFolderView.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/gui/wxFolderView.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -18,10 +18,6 @@
// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
- #pragma implementation "wxFolderView.h"
-#endif
-
#include "Mpch.h"
#ifndef USE_PCH
Modified: trunk/M/src/gui/wxIconManager.cpp
===================================================================
--- trunk/M/src/gui/wxIconManager.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/gui/wxIconManager.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -14,10 +14,6 @@
// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
-# pragma implementation "wxIconManager.h"
-#endif
-
#include "Mpch.h"
#ifndef USE_PCH
Modified: trunk/M/src/gui/wxMDialogs.cpp
===================================================================
--- trunk/M/src/gui/wxMDialogs.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/gui/wxMDialogs.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -6,10 +6,6 @@
* $Id$
*******************************************************************/
-#ifdef __GNUG__
-# pragma implementation "wxMDialogs.h"
-#endif
-
// ============================================================================
// declarations
// ============================================================================
Modified: trunk/M/src/gui/wxMFrame.cpp
===================================================================
--- trunk/M/src/gui/wxMFrame.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/gui/wxMFrame.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -18,10 +18,6 @@
// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
-# pragma implementation "wxMFrame.h"
-#endif
-
#include "Mpch.h"
#ifndef USE_PCH
Modified: trunk/M/src/gui/wxMainFrame.cpp
===================================================================
--- trunk/M/src/gui/wxMainFrame.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/gui/wxMainFrame.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -18,10 +18,6 @@
// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
-# pragma implementation "wxMainFrame.h"
-#endif
-
#include "Mpch.h"
#ifndef USE_PCH
Modified: trunk/M/src/gui/wxMessageView.cpp
===================================================================
--- trunk/M/src/gui/wxMessageView.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/gui/wxMessageView.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -18,10 +18,6 @@
// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
-# pragma implementation "wxMessageView.h"
-#endif
-
#include "Mpch.h"
#ifndef USE_PCH
Modified: trunk/M/src/gui/wxMsgCmdProc.cpp
===================================================================
--- trunk/M/src/gui/wxMsgCmdProc.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/gui/wxMsgCmdProc.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -13,10 +13,6 @@
// declarations
// ============================================================================
-#ifdef __GNUG__
- #pragma implementation "MsgCmdProc.h"
-#endif
-
// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
Modified: trunk/M/src/gui/wxllist.cpp
===================================================================
--- trunk/M/src/gui/wxllist.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/gui/wxllist.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -21,10 +21,6 @@
*/
-#ifdef __GNUG__
-# pragma implementation "wxllist.h"
-#endif
-
#include <wx/wxprec.h>
#ifdef __BORLANDC__
Modified: trunk/M/src/gui/wxlparser.cpp
===================================================================
--- trunk/M/src/gui/wxlparser.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/gui/wxlparser.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -6,10 +6,6 @@
* $Id$
*******************************************************************/
-#ifdef __GNUG__
-# pragma implementation "wxlparser.h"
-#endif
-
#include <wx/wxprec.h>
#ifdef __BORLANDC__
Modified: trunk/M/src/gui/wxlwindow.cpp
===================================================================
--- trunk/M/src/gui/wxlwindow.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/gui/wxlwindow.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -14,10 +14,6 @@
// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
-# pragma implementation "wxlwindow.h"
-#endif
-
#include <wx/wxprec.h>
#ifdef __BORLANDC__
Modified: trunk/M/src/mail/ASMailFolder.cpp
===================================================================
--- trunk/M/src/mail/ASMailFolder.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/mail/ASMailFolder.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -6,10 +6,6 @@
* $Id$
*******************************************************************/
-#ifdef __GNUG__
-# pragma implementation "ASMailFolder.h"
-#endif
-
#include "Mpch.h"
#ifndef USE_PCH
Modified: trunk/M/src/mail/Address.cpp
===================================================================
--- trunk/M/src/mail/Address.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/mail/Address.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -18,10 +18,6 @@
// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
- #pragma implementation "Address.h"
-#endif
-
#include "Mpch.h"
#ifndef USE_PCH
Modified: trunk/M/src/mail/AddressCC.cpp
===================================================================
--- trunk/M/src/mail/AddressCC.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/mail/AddressCC.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -18,10 +18,6 @@
// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
- #pragma implementation "AddressCC.h"
-#endif
-
#include "Mpch.h"
#ifndef USE_PCH
Modified: trunk/M/src/mail/HeaderInfoImpl.cpp
===================================================================
--- trunk/M/src/mail/HeaderInfoImpl.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/mail/HeaderInfoImpl.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -19,18 +19,13 @@
// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
- #pragma implementation "HeaderInfoImpl.h"
- #pragma implementation "HeaderInfo.h"
-#endif
-
#include "Mpch.h"
#ifndef USE_PCH
#include "Mcommon.h"
#include "Mdefaults.h"
#include "Mcclient.h" // need THREADNODE
-
+
#include <wx/frame.h> // for wxFrame
#endif // USE_PCH
@@ -1383,7 +1378,7 @@
thrData->m_tableThread[threadedIndex++] = node->num;
thrData->m_indents[node->num-1] = indent;
}
-
+
size_t nbChildren = 0;
if (node->next != 0)
{
@@ -1396,7 +1391,7 @@
} else {
// Indent if current node is not dummy
indentForKid += (node->num == 0) ? 0 : 1;
- }
+ }
nbChildren += FillThreadTables(node->next, thrData, threadedIndex,
indentForKid, indentIfDummyNode);
}
Modified: trunk/M/src/mail/LogCircle.cpp
===================================================================
--- trunk/M/src/mail/LogCircle.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/mail/LogCircle.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -10,10 +10,6 @@
// Licence: M license
///////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
- #pragma implementation "LogCircle.h"
-#endif
-
#include "Mpch.h"
#ifndef USE_PCH
Modified: trunk/M/src/mail/MFCache.cpp
===================================================================
--- trunk/M/src/mail/MFCache.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/mail/MFCache.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -14,10 +14,6 @@
// declarations
// ============================================================================
-#ifdef __GNUG__
- #pragma implementation "MFCache.h"
-#endif
-
// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
Modified: trunk/M/src/mail/MFDriver.cpp
===================================================================
--- trunk/M/src/mail/MFDriver.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/mail/MFDriver.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -14,10 +14,6 @@
// declarations
// ============================================================================
-#ifdef __GNUG__
- #pragma implementation "MFDriver.h"
-#endif
-
#include "Mpch.h"
#ifndef USE_PCH
Modified: trunk/M/src/mail/MFPool.cpp
===================================================================
--- trunk/M/src/mail/MFPool.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/mail/MFPool.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -18,10 +18,6 @@
// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
- #pragma implementation "MFPool.h"
-#endif
-
#include "Mpch.h"
#ifndef USE_PCH
Modified: trunk/M/src/mail/MailFolder.cpp
===================================================================
--- trunk/M/src/mail/MailFolder.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/mail/MailFolder.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -19,11 +19,6 @@
// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
- #pragma implementation "MailFolder.h"
- #pragma implementation "ServerInfo.h"
-#endif
-
#include "Mpch.h"
#ifndef USE_PCH
Modified: trunk/M/src/mail/MailFolderCC.cpp
===================================================================
--- trunk/M/src/mail/MailFolderCC.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/mail/MailFolderCC.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -19,10 +19,6 @@
// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
-# pragma implementation "MailFolderCC.h"
-#endif
-
#include "Mpch.h"
#ifdef USE_PYTHON
Modified: trunk/M/src/mail/MailFolderCmn.cpp
===================================================================
--- trunk/M/src/mail/MailFolderCmn.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/mail/MailFolderCmn.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -17,10 +17,6 @@
// declarations
// ============================================================================
-#ifdef __GNUG__
-# pragma implementation "MailFolderCmn.h"
-#endif
-
// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
Modified: trunk/M/src/mail/Message.cpp
===================================================================
--- trunk/M/src/mail/Message.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/mail/Message.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -19,10 +19,6 @@
// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
-# pragma implementation "Message.h"
-#endif
-
#include "Mpch.h"
#ifndef USE_PCH
Modified: trunk/M/src/mail/MessageCC.cpp
===================================================================
--- trunk/M/src/mail/MessageCC.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/mail/MessageCC.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -18,10 +18,6 @@
// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
- #pragma implementation "MessageCC.h"
-#endif
-
#include "Mpch.h"
#ifndef USE_PCH
Modified: trunk/M/src/mail/MimePartCC.cpp
===================================================================
--- trunk/M/src/mail/MimePartCC.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/mail/MimePartCC.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -18,10 +18,6 @@
// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
- #pragma implementation "MimePartCC.h"
-#endif
-
#include "Mpch.h"
#ifndef USE_PCH
Modified: trunk/M/src/mail/SendMessageCC.cpp
===================================================================
--- trunk/M/src/mail/SendMessageCC.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/mail/SendMessageCC.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -14,10 +14,6 @@
// declarations
// ============================================================================
-#ifdef __GNUG__
-# pragma implementation "SendMessageCC.h"
-#endif
-
// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
Modified: trunk/M/src/mail/Sorting.cpp
===================================================================
--- trunk/M/src/mail/Sorting.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/mail/Sorting.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -14,10 +14,6 @@
// declarations
// ============================================================================
-#ifdef __GNUG__
- #pragma implementation "Sorting.h"
-#endif
-
// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
Modified: trunk/M/src/mail/Threading.cpp
===================================================================
--- trunk/M/src/mail/Threading.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/mail/Threading.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -14,10 +14,6 @@
// declarations
// ============================================================================
-#ifdef __GNUG__
- #pragma implementation "Threading.h"
-#endif
-
// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
Modified: trunk/M/src/mail/VFolder.cpp
===================================================================
--- trunk/M/src/mail/VFolder.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/mail/VFolder.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -19,10 +19,6 @@
// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
- #pragma implementation "VFolder.h"
-#endif
-
#include "Mpch.h"
#ifndef USE_PCH
Modified: trunk/M/src/mail/VMessage.cpp
===================================================================
--- trunk/M/src/mail/VMessage.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/mail/VMessage.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -18,10 +18,6 @@
// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
- #pragma implementation "VMessage.h"
-#endif
-
#include "Mpch.h"
#ifndef USE_PCH
Modified: trunk/M/src/modules/Filters.cpp
===================================================================
--- trunk/M/src/modules/Filters.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/modules/Filters.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -7,10 +7,6 @@
*
*******************************************************************/
-#ifdef __GNUG__
-# pragma implementation "Filters.h"
-#endif
-
#include "Mpch.h"
// VZ: Greg, testing is nice, but this breaks Windows compilation!
Modified: trunk/M/src/modules/Migrate.cpp
===================================================================
--- trunk/M/src/modules/Migrate.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/modules/Migrate.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -18,10 +18,6 @@
// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
- #pragma implementation "MFPool.h"
-#endif
-
#include "Mpch.h"
#ifndef USE_PCH
Modified: trunk/M/src/wx/common/vcard.cpp
===================================================================
--- trunk/M/src/wx/common/vcard.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/wx/common/vcard.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -17,10 +17,6 @@
// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
- #pragma implementation "vcard.h"
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
Modified: trunk/M/src/wx/generic/persctrl.cpp
===================================================================
--- trunk/M/src/wx/generic/persctrl.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/wx/generic/persctrl.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -9,10 +9,6 @@
// Licence: wxWindows license (part of wxExtra library)
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
-# pragma implementation "persctrl.h"
-#endif
-
// ============================================================================
// declarations
// ============================================================================
Modified: trunk/M/src/wx/generic/vcarddlg.cpp
===================================================================
--- trunk/M/src/wx/generic/vcarddlg.cpp 2007-06-06 00:11:31 UTC (rev 7280)
+++ trunk/M/src/wx/generic/vcarddlg.cpp 2007-06-06 00:26:42 UTC (rev 7281)
@@ -17,11 +17,6 @@
// headers
// ----------------------------------------------------------------------------
-// this is done in common/vcard.cpp
-#if 0 //def __GNUG__
- #pragma implementation "vcard.h"
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/