From 1059664ff4a3c92b2c6a4720f695e158aed215e4 Mon Sep 17 00:00:00 2001 From: Einar Egilsson Date: Tue, 20 Oct 2009 13:04:15 +0000 Subject: Changed to use actual interfaces! Seems to work, tiny bug left in unit tests. git-svn-id: http://einaregilsson.googlecode.com/svn/mozilla/redirector/trunk@285 119bf307-c92d-0410-89bd-8f53e6181181 --- components/interfaces/rdIMatchResult.idl | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 components/interfaces/rdIMatchResult.idl (limited to 'components/interfaces/rdIMatchResult.idl') diff --git a/components/interfaces/rdIMatchResult.idl b/components/interfaces/rdIMatchResult.idl new file mode 100644 index 0000000..edf13b4 --- /dev/null +++ b/components/interfaces/rdIMatchResult.idl @@ -0,0 +1,17 @@ +/* $Id */ +#include "nsISupports.idl" + +[scriptable, uuid(cf89b480-bce3-11de-a0dd-028037ec0200)] +interface rdIMatchResult : nsISupports { + + /* Result constants */ + const short NO_MATCH = 0; + const short MATCH = 1; + const short DISABLED_MATCH = 2; + const short EXCLUDED_MATCH = 3; + + /* Attributes */ + attribute wstring redirectTo; + attribute short result; +}; + -- cgit v1.2.3-70-g09d2