From 7a35fcd096f1fc4f81fc9cbc5d41ced28b752a89 Mon Sep 17 00:00:00 2001 From: Einar Egilsson Date: Tue, 20 Oct 2009 14:36:34 +0000 Subject: Fixed small bug git-svn-id: http://einaregilsson.googlecode.com/svn/mozilla/redirector/trunk@287 119bf307-c92d-0410-89bd-8f53e6181181 --- components/interfaces/rdIMatchResult.idl | 12 ++++-------- components/interfaces/rdIRedirect.idl | 2 +- 2 files changed, 5 insertions(+), 9 deletions(-) (limited to 'components') diff --git a/components/interfaces/rdIMatchResult.idl b/components/interfaces/rdIMatchResult.idl index 16de67c..371a7d7 100644 --- a/components/interfaces/rdIMatchResult.idl +++ b/components/interfaces/rdIMatchResult.idl @@ -4,14 +4,10 @@ [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; + readonly attribute wstring redirectTo; + readonly attribute boolean isMatch; + readonly attribute boolean isExcludeMatch; + readonly attribute boolean isDisabledMatch; }; diff --git a/components/interfaces/rdIRedirect.idl b/components/interfaces/rdIRedirect.idl index cd67b30..0421d8e 100644 --- a/components/interfaces/rdIRedirect.idl +++ b/components/interfaces/rdIRedirect.idl @@ -9,7 +9,7 @@ interface rdIRedirect : nsISupports { attribute wstring exampleUrl; attribute wstring includePattern; attribute wstring excludePattern; - attribute wstring redirectTo; + attribute wstring redirectUrl; attribute wchar patternType; attribute boolean unescapeMatches; attribute boolean disabled; -- cgit v1.2.3-70-g09d2