aboutsummaryrefslogtreecommitdiff
path: root/components/interfaces/rdIRedirector.idl
blob: 2bd2eff69e2654353cf6903668ed8fa222dc8bf4 (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);
};