aboutsummaryrefslogtreecommitdiff
path: root/components/interfaces
diff options
context:
space:
mode:
authorEinar Egilsson2009-10-20 14:36:34 +0000
committerEinar Egilsson2009-10-20 14:36:34 +0000
commit7a35fcd096f1fc4f81fc9cbc5d41ced28b752a89 (patch)
tree199914c15f332fceaf4af7e071381b54ca520d45 /components/interfaces
parentfac1dc90b505c5bf0e8833bc1aecf4f53a7348b5 (diff)
Fixed small bug
git-svn-id: http://einaregilsson.googlecode.com/svn/mozilla/redirector/trunk@287 119bf307-c92d-0410-89bd-8f53e6181181
Diffstat (limited to 'components/interfaces')
-rw-r--r--components/interfaces/rdIMatchResult.idl12
-rw-r--r--components/interfaces/rdIRedirect.idl2
2 files changed, 5 insertions, 9 deletions
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;