From 647115298dc5610264baea19ce37035f477ad1c9 Mon Sep 17 00:00:00 2001 From: "sspitzer%netscape.com" Date: Thu, 19 Sep 2002 06:28:45 +0000 Subject: [PATCH] for spam, not part of the build. --- mailnews/base/public/nsISpamSettings.idl | 26 ++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 mailnews/base/public/nsISpamSettings.idl diff --git a/mailnews/base/public/nsISpamSettings.idl b/mailnews/base/public/nsISpamSettings.idl new file mode 100644 index 00000000000..e36dd81b7e0 --- /dev/null +++ b/mailnews/base/public/nsISpamSettings.idl @@ -0,0 +1,26 @@ +#include "nsISupports.idl" + +interface nsIOutputStream; + +[scriptable, uuid(24ca5ee5-4b0b-4d7b-b53c-13fa2279ccf0)] +interface nsISpamSettings: nsISupports { + // 0 for nothing, 100 for highest + attribute long level; + + attribute boolean moveOnSpam; + attribute string actionTargetFolder; + + attribute boolean purge; + attribute boolean purgeInterval; + + attribute boolean useWhiteList; + attribute string whiteListAbURI; + + // for logging + attribute boolean loggingEnabled; + attribute nsIOutputStream logStream; + readonly attribute string logURL; + void clearLog(); + void ensureLogFile(); + void flushLogIfNecessary(); +};