summaryrefslogtreecommitdiff
path: root/mailnews/base
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2019-11-11 00:27:30 -0500
committerMatt A. Tobin <email@mattatobin.com>2019-11-11 00:27:30 -0500
commit359334f1a1d74e346ff76f8da85c8de897ca159a (patch)
treedaadf5ef66696dacdc58faae2bdf5245e25db81d /mailnews/base
parent7922314fa479d5c5c1a4e580f643d79af3151da0 (diff)
downloaduxp-359334f1a1d74e346ff76f8da85c8de897ca159a.tar.gz
Bug 1020971 - Port bug 1015664: Remove NS_HIDDEN and friends.
Tag #1273
Diffstat (limited to 'mailnews/base')
-rw-r--r--mailnews/base/util/nsMsgDBFolder.h6
-rw-r--r--mailnews/base/util/nsMsgIncomingServer.h6
-rw-r--r--mailnews/base/util/nsMsgMailNewsUrl.h6
-rw-r--r--mailnews/base/util/nsMsgProtocol.h6
-rw-r--r--mailnews/base/util/nsMsgTxn.h6
-rw-r--r--mailnews/base/util/nsStopwatch.h3
6 files changed, 0 insertions, 33 deletions
diff --git a/mailnews/base/util/nsMsgDBFolder.h b/mailnews/base/util/nsMsgDBFolder.h
index 6074b45f95..0c96ee8f06 100644
--- a/mailnews/base/util/nsMsgDBFolder.h
+++ b/mailnews/base/util/nsMsgDBFolder.h
@@ -40,9 +40,6 @@ class nsMsgKeySetU;
* class derived from nsMsgFolder for those folders that use an nsIMsgDatabase
*/
-#undef IMETHOD_VISIBILITY
-#define IMETHOD_VISIBILITY NS_VISIBILITY_DEFAULT
-
class NS_MSG_BASE nsMsgDBFolder: public nsRDFResource,
public nsSupportsWeakReference,
public nsIMsgFolder,
@@ -291,7 +288,4 @@ protected:
nsMsgKeySet* hiKeySet;
};
-#undef IMETHOD_VISIBILITY
-#define IMETHOD_VISIBILITY NS_VISIBILITY_HIDDEN
-
#endif
diff --git a/mailnews/base/util/nsMsgIncomingServer.h b/mailnews/base/util/nsMsgIncomingServer.h
index d19bdc9300..58502e2246 100644
--- a/mailnews/base/util/nsMsgIncomingServer.h
+++ b/mailnews/base/util/nsMsgIncomingServer.h
@@ -33,9 +33,6 @@ class nsIMsgProtocolInfo;
* this particular implementation is not meant to be used directly.
*/
-#undef IMETHOD_VISIBILITY
-#define IMETHOD_VISIBILITY NS_VISIBILITY_DEFAULT
-
class NS_MSG_BASE nsMsgIncomingServer : public nsIMsgIncomingServer,
public nsSupportsWeakReference,
public nsIObserver
@@ -101,7 +98,4 @@ protected:
bool mPerformingBiff;
};
-#undef IMETHOD_VISIBILITY
-#define IMETHOD_VISIBILITY NS_VISIBILITY_HIDDEN
-
#endif // nsMsgIncomingServer_h__
diff --git a/mailnews/base/util/nsMsgMailNewsUrl.h b/mailnews/base/util/nsMsgMailNewsUrl.h
index 61fd4827eb..3cd3b2ef2f 100644
--- a/mailnews/base/util/nsMsgMailNewsUrl.h
+++ b/mailnews/base/util/nsMsgMailNewsUrl.h
@@ -34,9 +34,6 @@
//
//////////////////////////////////////////////////////////////////////////////////
-#undef IMETHOD_VISIBILITY
-#define IMETHOD_VISIBILITY NS_VISIBILITY_DEFAULT
-
class NS_MSG_BASE nsMsgMailNewsUrl : public nsIMsgMailNewsUrl,
public nsIURIWithPrincipal
{
@@ -80,7 +77,4 @@ protected:
nsTObserverArray<nsCOMPtr<nsIUrlListener> > mUrlListeners;
};
-#undef IMETHOD_VISIBILITY
-#define IMETHOD_VISIBILITY NS_VISIBILITY_HIDDEN
-
#endif /* nsMsgMailNewsUrl_h___ */
diff --git a/mailnews/base/util/nsMsgProtocol.h b/mailnews/base/util/nsMsgProtocol.h
index 98aa67285e..f0675d6ff1 100644
--- a/mailnews/base/util/nsMsgProtocol.h
+++ b/mailnews/base/util/nsMsgProtocol.h
@@ -31,9 +31,6 @@ class nsIMsgMailNewsUrl;
class nsMsgFilePostHelper;
class nsIProxyInfo;
-#undef IMETHOD_VISIBILITY
-#define IMETHOD_VISIBILITY NS_VISIBILITY_DEFAULT
-
// This is a helper class used to encapsulate code shared between all of the
// mailnews protocol objects (imap, news, pop, smtp, etc.) In particular,
// it unifies the core networking code for the protocols. My hope is that
@@ -233,7 +230,4 @@ protected:
virtual nsresult CloseSocket() override;
};
-#undef IMETHOD_VISIBILITY
-#define IMETHOD_VISIBILITY NS_VISIBILITY_HIDDEN
-
#endif /* nsMsgProtocol_h__ */
diff --git a/mailnews/base/util/nsMsgTxn.h b/mailnews/base/util/nsMsgTxn.h
index 5c34de4d4c..e925b60ea3 100644
--- a/mailnews/base/util/nsMsgTxn.h
+++ b/mailnews/base/util/nsMsgTxn.h
@@ -25,9 +25,6 @@
* base class for all message undo/redo transactions.
*/
-#undef IMETHOD_VISIBILITY
-#define IMETHOD_VISIBILITY NS_VISIBILITY_DEFAULT
-
class NS_MSG_BASE nsMsgTxn : public nsITransaction,
public nsIWritablePropertyBag,
public nsIWritablePropertyBag2
@@ -67,7 +64,4 @@ protected:
nsresult CheckForToggleDelete(nsIMsgFolder *aFolder, const nsMsgKey &aMsgKey, bool *aResult);
};
-#undef IMETHOD_VISIBILITY
-#define IMETHOD_VISIBILITY NS_VISIBILITY_HIDDEN
-
#endif
diff --git a/mailnews/base/util/nsStopwatch.h b/mailnews/base/util/nsStopwatch.h
index 62b1c52b8f..1085188709 100644
--- a/mailnews/base/util/nsStopwatch.h
+++ b/mailnews/base/util/nsStopwatch.h
@@ -14,9 +14,6 @@
#define NS_STOPWATCH_CONTRACTID "@mozilla.org/stopwatch;1"
-#undef IMETHOD_VISIBILITY
-#define IMETHOD_VISIBILITY NS_VISIBILITY_DEFAULT
-
class NS_MSG_BASE nsStopwatch : public nsIStopwatch
{
public: