Update of /cvsroot/mahogany/M/src/classes
In directory sc8-pr-cvs1:/tmp/cvs-serv21540/src/classes
Modified Files:
ComposeTemplate.cpp FolderMonitor.cpp MEvent.cpp MFolder.cpp
MessageView.cpp PGPClickInfo.cpp Profile.cpp XFace.cpp
Log Message:
fixes for VC++ 6 warnings not disabled any more in wx/defs.h
Index: ComposeTemplate.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/ComposeTemplate.cpp,v
retrieving revision 1.47
retrieving revision 1.48
diff -b -u -2 -r1.47 -r1.48
--- ComposeTemplate.cpp 19 Jul 2003 23:28:29 -0000 1.47
+++ ComposeTemplate.cpp 22 Jul 2003 22:01:39 -0000 1.48
@@ -397,4 +397,6 @@
// this category as well)
static const wxChar *ms_templateOriginalVars[OriginalHeader_Max];
+
+ DECLARE_NO_COPY_CLASS(VarExpander)
};
@@ -746,5 +748,5 @@
bool
VarExpander::ExpandMisc(const String& name,
- const wxArrayString& arguments,
+ const wxArrayString& /* arguments */,
String *value) const
{
Index: FolderMonitor.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/FolderMonitor.cpp,v
retrieving revision 1.21
retrieving revision 1.22
diff -b -u -2 -r1.21 -r1.22
--- FolderMonitor.cpp 28 Dec 2002 02:28:33 -0000 1.21
+++ FolderMonitor.cpp 22 Jul 2003 22:01:39 -0000 1.22
@@ -220,4 +220,6 @@
FolderMonitorFolderList& m_list;
+
+ DECLARE_NO_COPY_CLASS(FolderMonitorTraversal)
};
Index: MEvent.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/MEvent.cpp,v
retrieving revision 1.37
retrieving revision 1.38
diff -b -u -2 -r1.37 -r1.38
--- MEvent.cpp 12 Sep 2002 02:36:49 -0000 1.37
+++ MEvent.cpp 22 Jul 2003 22:01:39 -0000 1.38
@@ -47,4 +47,6 @@
MEventReceiver& receiver;
MEventId id;
+
+ DECLARE_NO_COPY_CLASS(MEventReceiverInfo)
};
Index: MFolder.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/MFolder.cpp,v
retrieving revision 1.97
retrieving revision 1.98
diff -b -u -2 -r1.97 -r1.98
--- MFolder.cpp 11 Apr 2003 17:13:18 -0000 1.97
+++ MFolder.cpp 22 Jul 2003 22:01:39 -0000 1.98
@@ -781,5 +781,5 @@
}
-void MFolderFromProfile::SetServer(const String& server)
+void MFolderFromProfile::SetServer(const String& /* server */)
{
// it's not used now...
Index: MessageView.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/MessageView.cpp,v
retrieving revision 1.124
retrieving revision 1.125
diff -b -u -2 -r1.124 -r1.125
--- MessageView.cpp 12 Jul 2003 18:57:43 -0000 1.124
+++ MessageView.cpp 22 Jul 2003 22:01:39 -0000 1.125
@@ -225,4 +225,5 @@
DECLARE_EVENT_TABLE()
+ DECLARE_NO_COPY_CLASS(ProcessEvtHandler)
};
Index: PGPClickInfo.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/PGPClickInfo.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -b -u -2 -r1.2 -r1.3
--- PGPClickInfo.cpp 16 Feb 2003 14:02:45 -0000 1.2
+++ PGPClickInfo.cpp 22 Jul 2003 22:01:39 -0000 1.3
@@ -56,4 +56,5 @@
DECLARE_EVENT_TABLE()
+ DECLARE_NO_COPY_CLASS(PGPMenu)
};
Index: Profile.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/Profile.cpp,v
retrieving revision 1.141
retrieving revision 1.142
diff -b -u -2 -r1.141 -r1.142
--- Profile.cpp 30 Apr 2003 00:17:16 -0000 1.141
+++ Profile.cpp 22 Jul 2003 22:01:39 -0000 1.142
@@ -199,5 +199,5 @@
}
- virtual int readEntryFromHere(const String& key, int defvalue) const
+ virtual int readEntryFromHere(const String& /* key */, int defvalue) const
{
return defvalue;
@@ -205,33 +205,34 @@
/// Write back the character value.
- virtual bool writeEntry(const String & key, const String & Value)
+ virtual bool writeEntry(const String& /* key */, const String& /* value */)
{ return false ; }
/// Write back the int value.
- virtual bool writeEntry(const String & key, long Value)
+ virtual bool writeEntry(const String& /* key */, long /* value */)
{ return false; }
- virtual bool writeEntryIfNeeded(const String& key,
- long value,
- long defvalue)
+ virtual bool writeEntryIfNeeded(const String& /* key */,
+ long /* value */,
+ long /* defvalue */)
{ return false; }
//@}
/// return true if the entry is defined
- virtual bool HasEntry(const String & key) const
+ virtual bool HasEntry(const String & /* key */) const
{ return false; }
/// return the type of entry
- virtual wxConfigBase::EntryType GetEntryType(const String & key) const
+ virtual wxConfigBase::EntryType GetEntryType(const String & /* key */) const
{ return wxConfigBase::Type_Unknown; }
/// return true if the group exists
- virtual bool HasGroup(const String & name) const
+ virtual bool HasGroup(const String & /* name */) const
{ return false; }
/// delete the entry specified by path
- virtual bool DeleteEntry(const String& key)
+ virtual bool DeleteEntry(const String& /* key */)
{ return false; }
/// delete the entry group specified by path
- virtual bool DeleteGroup(const String & path)
+ virtual bool DeleteGroup(const String & /* path */)
{ return false; }
/// rename a group
- virtual bool Rename(const String& oldName, const String& newName)
+ virtual bool Rename(const String& /* oldName */,
+ const String& /* newName */)
{ return false; }
/// return the name of the profile
@@ -243,11 +244,15 @@
*/
/// see wxConfig docs
- virtual bool GetFirstGroup(String& s, long& l) const{ return false; }
+ virtual bool GetFirstGroup(String& /* s */, long& /* l */) const
+ { return false; }
/// see wxConfig docs
- virtual bool GetNextGroup(String& s, long& l) const{ return false; }
+ virtual bool GetNextGroup(String& /* s */, long& /* l */) const
+ { return false; }
/// see wxConfig docs
- virtual bool GetFirstEntry(String& s, long& l) const{ return false; }
+ virtual bool GetFirstEntry(String& /* s */, long& /* l */) const
+ { return false; }
/// see wxConfig docs
- virtual bool GetNextEntry(String& s, long& l) const{ return false; }
+ virtual bool GetNextEntry(String& /* s */, long& /* l */) const
+ { return false; }
/// Returns a unique, not yet existing sub-group name: //MT!!
@@ -308,4 +313,6 @@
}
+ DECLARE_NO_COPY_CLASS(EmptyProfile)
+
GCC_DTOR_WARN_OFF
};
@@ -495,4 +502,6 @@
MOBJECT_DEBUG(ProfileImpl)
+ DECLARE_NO_COPY_CLASS(ProfileImpl)
+
GCC_DTOR_WARN_OFF
};
@@ -538,5 +547,8 @@
m_ProfileName << '/' << name;
}
+
+ DECLARE_NO_COPY_CLASS(Identity)
};
+
/**
Filter profile class which is a Profile representing a single
@@ -570,4 +582,6 @@
m_ProfileName << '/' << name;
}
+
+ DECLARE_NO_COPY_CLASS(FilterProfile)
};
@@ -738,5 +752,5 @@
*/
static inline
-void EnforcePolicy(Profile *p)
+void EnforcePolicy(Profile * /* p */)
{
// currently we don't do anything here
Index: XFace.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/XFace.cpp,v
retrieving revision 1.27
retrieving revision 1.28
diff -b -u -2 -r1.27 -r1.28
--- XFace.cpp 15 Jul 2003 00:47:33 -0000 1.27
+++ XFace.cpp 22 Jul 2003 22:01:39 -0000 1.28
@@ -169,5 +169,7 @@
/* static */
wxImage
-XFace::GetXFaceImg(const String &filename, bool *hasimg, class wxWindow *parent)
+XFace::GetXFaceImg(const String& filename,
+ bool *hasimg,
+ wxWindow * /* parent */)
{
#if !defined(__CYGWIN__) && !defined(__MINGW32__) // FIXME undefined reference to
wxIconManager::LoadImage() when linking
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates