aboutsummaryrefslogtreecommitdiff
path: root/components/interfaces/rdIRedirector.idl
blob: f586dfb71fc13b915089fc69d271587d0e3691ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* $Id */
#include "nsISupports.idl"
#include "nsIFile.idl"
#include "rdIRedirect.idl"

[scriptable, uuid(cdf25d91-bce1-11de-aee1-028037ec0200)]
interface rdIRedirector : nsISupports {

	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);
};