00001
00002
00003
00004
00005 import "oaidl.idl";
00006 import "ocidl.idl";
00007
00008 [
00009 object,
00010 uuid(454A4044-16EC-4D64-9069-C5B8832B7B55),
00011 dual,
00012 helpstring("IWGUrlReceiver Interface"),
00013 pointer_default(unique)
00014 ]
00015 interface IWGUrlReceiver : IDispatch
00016 {
00017 [propget, id(1), helpstring("property Url")] HRESULT Url([out, retval] BSTR *pVal);
00018 [propput, id(1), helpstring("property Url")] HRESULT Url([in] BSTR newVal);
00019 [id(2), helpstring("method ShowAddDownloadDialog")] HRESULT ShowAddDownloadDialog();
00020 [id(3), helpstring("method ShowAddPageDownloadDialog")] HRESULT ShowAddPageDownloadDialog();
00021 [propget, id(4), helpstring("property Comment")] HRESULT Comment([out, retval] BSTR *pVal);
00022 [propput, id(4), helpstring("property Comment")] HRESULT Comment([in] BSTR newVal);
00023 [propget, id(5), helpstring("property Referer")] HRESULT Referer([out, retval] BSTR *pVal);
00024 [propput, id(5), helpstring("property Referer")] HRESULT Referer([in] BSTR newVal);
00025 [id(6), helpstring("method AddDownload")] HRESULT AddDownload();
00026 [propget, id(7), helpstring("property CheckExtension")] HRESULT CheckExtension([out, retval] BOOL *pVal);
00027 [propput, id(7), helpstring("property CheckExtension")] HRESULT CheckExtension([in] BOOL newVal);
00028 [propget, id(8), helpstring("property IgnoreSize")] HRESULT IgnoreSize([out, retval] BOOL *pVal);
00029 [propput, id(8), helpstring("property IgnoreSize")] HRESULT IgnoreSize([in] BOOL newVal);
00030 [propget, id(9), helpstring("property UseSkipExtsList")] HRESULT UseSkipExtsList([out, retval] BOOL *pVal);
00031 [propput, id(9), helpstring("property UseSkipExtsList")] HRESULT UseSkipExtsList([in] BOOL newVal);
00032 [propget, id(10), helpstring("property UIState")] HRESULT UIState([out, retval] BSTR *pVal);
00033 [propget, id(11), helpstring("property ForceSilent")] HRESULT ForceSilent([out, retval] BOOL *pVal);
00034 [propput, id(11), helpstring("property ForceSilent")] HRESULT ForceSilent([in] BOOL newVal);
00035 [propget, id(12), helpstring("property Cookies")] HRESULT Cookies([out, retval] BSTR *pVal);
00036 [propput, id(12), helpstring("property Cookies")] HRESULT Cookies([in] BSTR newVal);
00037 [propget, id(13), helpstring("property PostData")] HRESULT PostData([out, retval] BSTR *pVal);
00038 [propput, id(13), helpstring("property PostData")] HRESULT PostData([in] BSTR newVal);
00039 [propget, id(14), helpstring("property ForceSilentEx")] HRESULT ForceSilentEx([out, retval] BOOL *pVal);
00040 [propput, id(14), helpstring("property ForceSilentEx")] HRESULT ForceSilentEx([in] BOOL newVal);
00041 [propget, id(15), helpstring("property ForceDownloadAutoStart")] HRESULT ForceDownloadAutoStart([out, retval] BOOL *pVal);
00042 [propput, id(15), helpstring("property ForceDownloadAutoStart")] HRESULT ForceDownloadAutoStart([in] BOOL newVal);
00043 [propget, id(16), helpstring("property DisableMaliciousChecking")] HRESULT DisableMaliciousChecking([out, retval] BOOL *pVal);
00044 [propput, id(16), helpstring("property DisableMaliciousChecking")] HRESULT DisableMaliciousChecking([in] BOOL newVal);
00045 [propget, id(17), helpstring("property DisableURLExistsCheck")] HRESULT DisableURLExistsCheck([out, retval] BOOL *pVal);
00046 [propput, id(17), helpstring("property DisableURLExistsCheck")] HRESULT DisableURLExistsCheck([in] BOOL newVal);
00047 [propget, id(18), helpstring("property FileName")] HRESULT FileName([out, retval] BSTR *pVal);
00048 [propput, id(18), helpstring("property FileName")] HRESULT FileName([in] BSTR newVal);
00049 [propget, id(19), helpstring("property FlashVideoDownload")] HRESULT FlashVideoDownload([out, retval] BOOL *pVal);
00050 [propput, id(19), helpstring("property FlashVideoDownload")] HRESULT FlashVideoDownload([in] BOOL newVal);
00051 };
00052 [
00053 object,
00054 uuid(42E8D680-A18B-4CAA-ACE0-18EA05E4A056),
00055 dual,
00056 helpstring("IWGUrlListReceiver Interface"),
00057 pointer_default(unique)
00058 ]
00059 interface IWGUrlListReceiver : IDispatch
00060 {
00061 [propget, id(1), helpstring("property Url")] HRESULT Url([out, retval] BSTR *pVal);
00062 [propput, id(1), helpstring("property Url")] HRESULT Url([in] BSTR newVal);
00063 [propget, id(2), helpstring("property Comment")] HRESULT Comment([out, retval] BSTR *pVal);
00064 [propput, id(2), helpstring("property Comment")] HRESULT Comment([in] BSTR newVal);
00065 [propget, id(3), helpstring("property Referer")] HRESULT Referer([out, retval] BSTR *pVal);
00066 [propput, id(3), helpstring("property Referer")] HRESULT Referer([in] BSTR newVal);
00067 [id(4), helpstring("method AddUrlToList")] HRESULT AddUrlToList();
00068 [id(5), helpstring("method ShowAddUrlListDialog")] HRESULT ShowAddUrlListDialog();
00069 [id(6), helpstring("method GetUrlListFromDocumentSelection")] HRESULT GetUrlListFromDocumentSelection([in] IDispatch *pDispatch);
00070 [propget, id(7), helpstring("property Cookies")] HRESULT Cookies([out, retval] BSTR *pVal);
00071 [propput, id(7), helpstring("property Cookies")] HRESULT Cookies([in] BSTR newVal);
00072 };
00073 [
00074 object,
00075 uuid(F8FA5B48-B7A2-4BC6-8389-9587643A4660),
00076 dual,
00077 helpstring("IFDM Interface"),
00078 pointer_default(unique)
00079 ]
00080 interface IFDM : IDispatch
00081 {
00082 [id(1), helpstring("method Shutdown")] HRESULT Shutdown([in] BOOL bAskUser);
00083 };
00084 [
00085 object,
00086 uuid(8F2B3016-17D4-447A-B207-FFA8957A834A),
00087 dual,
00088 helpstring("IFDMDownload Interface"),
00089 pointer_default(unique)
00090 ]
00091 interface IFDMDownload : IDispatch
00092 {
00093 [propget, id(1), helpstring("property Url")] HRESULT Url([out, retval] BSTR *pVal);
00094 [propput, id(1), helpstring("property Url")] HRESULT Url([in] BSTR newVal);
00095 [propget, id(2), helpstring("property DownloadText")] HRESULT DownloadText([in] long nTextIndex, [out, retval] BSTR *pVal);
00096 };
00097 [
00098 object,
00099 uuid(1B26E4A2-7F09-4365-9AB8-13E6891E42CB),
00100 dual,
00101 helpstring("IFDMDownloadsStat Interface"),
00102 pointer_default(unique)
00103 ]
00104 interface IFDMDownloadsStat : IDispatch
00105 {
00106 [propget, id(1), helpstring("property DownloadCount")] HRESULT DownloadCount([out, retval] long *pVal);
00107 [propget, id(2), helpstring("property Download")] HRESULT Download([in] long nIndex, [out, retval] IFDMDownload* *pVal);
00108 [id(3), helpstring("method BuildListOfDownloads")] HRESULT BuildListOfDownloads([in] BOOL bIncludeCompleted, [in] BOOL bIncludeRunning);
00109 };
00110 [
00111 object,
00112 uuid(21402197-BB5B-476C-AA1D-3FFED8ED813A),
00113 dual,
00114 helpstring("IFdmTorrentFilesRcvr Interface"),
00115 pointer_default(unique)
00116 ]
00117 interface IFdmTorrentFilesRcvr : IDispatch
00118 {
00119 [id(1), helpstring("method CreateBtDownloadFromFile")] HRESULT CreateBtDownloadFromFile([in] BSTR bstrFile);
00120 [propget, id(2), helpstring("property ForceSilent")] HRESULT ForceSilent([out, retval] BOOL *pVal);
00121 [propput, id(2), helpstring("property ForceSilent")] HRESULT ForceSilent([in] BOOL newVal);
00122 };
00123 [
00124 object,
00125 uuid(0DC81A74-1FBD-4EF6-82B2-DE3FA05E8233),
00126 dual,
00127 helpstring("IFDMFlashVideoDownloads Interface"),
00128 pointer_default(unique)
00129 ]
00130 interface IFDMFlashVideoDownloads : IDispatch
00131 {
00132 [id(1), helpstring("method ProcessIeDocument")] HRESULT ProcessIeDocument([in] IDispatch *pDispatch);
00133 [id(2), helpstring("method ProcessHtml")] HRESULT ProcessHtml([in] BSTR bstrHost, [in] BSTR bstrHtml);
00134 [id(3), helpstring("method CreateFromUrl")] HRESULT CreateFromUrl([in] BSTR bstrUrl);
00135 };
00136 [
00137 uuid(DA122254-5927-44C6-8E37-459473384004),
00138 version(1.0),
00139 helpstring("FDM 1.0 Type Library")
00140 ]
00141 library FdmLib
00142 {
00143 importlib("stdole32.tlb");
00144 importlib("stdole2.tlb");
00145 importlib("./uploader/fum/fuminterfaces.tlb");
00146
00147 [
00148 uuid(959BA0A4-0893-48B4-8B02-BA0DA0A401FE),
00149 helpstring("WGUrlReceiver Class")
00150 ]
00151 coclass WGUrlReceiver
00152 {
00153 [default] interface IWGUrlReceiver;
00154 };
00155 [
00156 uuid(83E6F60E-7147-4475-9DF6-5F1E237FE2CE),
00157 helpstring("WGUrlListReceiver Class")
00158 ]
00159 coclass WGUrlListReceiver
00160 {
00161 [default] interface IWGUrlListReceiver;
00162 };
00163 [
00164 uuid(01483019-D8C9-47D8-8E93-AF032EBFADA6),
00165 helpstring("FDM Class")
00166 ]
00167 coclass FDM
00168 {
00169 [default] interface IFDM;
00170 };
00171 [
00172 uuid(F01F76EC-3376-4E62-B201-8074C8239376),
00173 helpstring("FDMDownloadsStat Class")
00174 ]
00175 coclass FDMDownloadsStat
00176 {
00177 [default] interface IFDMDownloadsStat;
00178 };
00179 [
00180 uuid(DEBBD32E-1D08-4F6A-8A26-E1B3D768A1E5),
00181 helpstring("FDMDownload Class")
00182 ]
00183 coclass FDMDownload
00184 {
00185 [default] interface IFDMDownload;
00186 };
00187 [
00188 uuid(4D6295C9-2765-49B0-A45B-4136B610954C),
00189 helpstring("FDMUploader Class")
00190 ]
00191 coclass FDMUploader
00192 {
00193 [default] interface IUploader;
00194 };
00195 [
00196 uuid(56101D38-6A8B-49D6-8C9D-939595AB2D19),
00197 helpstring("FDMUploadPackage Class")
00198 ]
00199 coclass FDMUploadPackage
00200 {
00201 [default] interface IUploadPackage;
00202 };
00203 [
00204 uuid(19CAD08F-0413-47F8-B1D9-5D66826E1E39),
00205 helpstring("FdmTorrentFilesRcvr Class")
00206 ]
00207 coclass FdmTorrentFilesRcvr
00208 {
00209 [default] interface IFdmTorrentFilesRcvr;
00210 };
00211 [
00212 uuid(D8E9E2ED-846D-4711-A9B8-A29312157DB4),
00213 helpstring("FDMFlashVideoDownloads Class")
00214 ]
00215 coclass FDMFlashVideoDownloads
00216 {
00217 [default] interface IFDMFlashVideoDownloads;
00218 };
00219 };
00220
00221