00001 #include "nsISupports.idl"
00002
00003 [scriptable, uuid(7E3EFFB1-64C0-412b-8515-542029434669)]
00004 interface IFDMUrl : nsISupports
00005 {
00006 attribute wstring Url;
00007 attribute wstring Referer;
00008 attribute wstring Comment;
00009 attribute wstring Cookies;
00010 attribute wstring PostData;
00011 };
00012
00013 [scriptable, uuid(F89DB1AD-64DD-4e7d-ACC9-B3795B74833B)]
00014 interface IFDMUrlListReceiver : nsISupports
00015 {
00016 void AddUrl (in IFDMUrl url);
00017 void ShowAddUrlListDialog ();
00018 };
00019
00020 [scriptable, uuid(1951E03A-2B97-4692-AA0B-1F0E316383AB)]
00021 interface IFDMUrlReceiver : nsISupports
00022 {
00023 void SetUrl (in IFDMUrl url);
00024 void ShowAddDownloadDialog ();
00025 };
00026
00027 [scriptable, uuid(A2DEDBB7-DD3A-4ff3-A1CC-75736FC557FA)]
00028 interface IFDMForFirefox : nsISupports
00029 {
00030 wstring GetLngString (in string strIDString);
00031 boolean IsContextMenuItemShouldBeHidden (in string strMenuItemID);
00032
00033
00034 boolean IsALTShouldBePressed ();
00035 boolean IsLinkShouldBeSkipped (in IFDMUrl url, in wstring wstrSuggFileName);
00036 boolean CatchLink (in IFDMUrl url, in wstring wstrSuggFileName);
00037 boolean IsDomainSupportedForVideoDownloads (in wstring wstrDomain);
00038 boolean ProcessVideoDocument (in wstring wstrDomain, in wstring wstrReferer, in wstring wstrHTML);
00039 boolean CreateVideoDownloadFromUrl (in wstring wstrUrl);
00040
00041
00042 void SetProxyType (in long nType);
00043 void SetProxy (in string strProtocol, in string strAddr, in long nPort);
00044 };
00045
00046 [scriptable, uuid(28BC56F7-1409-40c7-A9BB-10F113EB2D70)]
00047 interface IFDMFirefoxExtension : nsISupports
00048 {
00049 attribute nsISupports LastPost;
00050 };