aboutsummaryrefslogtreecommitdiff
path: root/components/interfaces/rdIRedirector.idl
diff options
context:
space:
mode:
authorEinar Egilsson2009-10-20 13:04:15 +0000
committerEinar Egilsson2009-10-20 13:04:15 +0000
commit1059664ff4a3c92b2c6a4720f695e158aed215e4 (patch)
treea8313f1f52d9a10d13bd5e2a27e7a563ef3e8e3a /components/interfaces/rdIRedirector.idl
parent85e1989a00957f4f08ea6720e0b884b278f24714 (diff)
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
Diffstat (limited to 'components/interfaces/rdIRedirector.idl')
-rw-r--r--components/interfaces/rdIRedirector.idl16
1 files changed, 15 insertions, 1 deletions
diff --git a/components/interfaces/rdIRedirector.idl b/components/interfaces/rdIRedirector.idl
index d229263..f586dfb 100644
--- a/components/interfaces/rdIRedirector.idl
+++ b/components/interfaces/rdIRedirector.idl
@@ -1,9 +1,23 @@
/* $Id */
#include "nsISupports.idl"
+#include "nsIFile.idl"
#include "rdIRedirect.idl"
[scriptable, uuid(cdf25d91-bce1-11de-aee1-028037ec0200)]
interface rdIRedirector : nsISupports {
- void test();
+
+ attribute boolean enabled;
+ readonly attribute short redirectCount;
+
+ void addRedirect(in rdIRedirect redirect);
+ void debug(in wstring msg);
+ void deleteRedirectAt(in short index);
+ void exportRedirects(in nsIFile file);
+ rdIRedirect getRedirectAt(in short index);
+ wstring getRedirectUrl(in wstring url);
+ long importRedirects(in nsIFile file);
+ void reload();
+ void save();
+ void switchItems(in short index1, in short index2);
};