Documentation/Source/eric5.Helpviewer.AdBlock.AdBlockSubscription.html

changeset 1994
84d55b34ba5a
parent 1971
a68d78702c98
child 2367
78f6c8193d37
diff -r 5038ab5ff88f -r 84d55b34ba5a Documentation/Source/eric5.Helpviewer.AdBlock.AdBlockSubscription.html
--- a/Documentation/Source/eric5.Helpviewer.AdBlock.AdBlockSubscription.html	Thu Aug 09 19:13:46 2012 +0200
+++ b/Documentation/Source/eric5.Helpviewer.AdBlock.AdBlockSubscription.html	Sun Aug 12 12:50:29 2012 +0200
@@ -85,6 +85,9 @@
 <td><a href="#AdBlockSubscription.__rulesDownloaded">__rulesDownloaded</a></td>
 <td>Private slot to deal with the downloaded rules.</td>
 </tr><tr>
+<td><a href="#AdBlockSubscription.__validateCheckSum">__validateCheckSum</a></td>
+<td>Private method to check the subscription file's checksum.</td>
+</tr><tr>
 <td><a href="#AdBlockSubscription.adBlockDisabledForUrl">adBlockDisabledForUrl</a></td>
 <td>Public method to check, if AdBlock is disabled for the given URL.</td>
 </tr><tr>
@@ -212,7 +215,24 @@
 <b>__rulesDownloaded</b>(<i></i>)
 <p>
         Private slot to deal with the downloaded rules.
-</p><a NAME="AdBlockSubscription.adBlockDisabledForUrl" ID="AdBlockSubscription.adBlockDisabledForUrl"></a>
+</p><a NAME="AdBlockSubscription.__validateCheckSum" ID="AdBlockSubscription.__validateCheckSum"></a>
+<h4>AdBlockSubscription.__validateCheckSum</h4>
+<b>__validateCheckSum</b>(<i>fileName</i>)
+<p>
+        Private method to check the subscription file's checksum.
+</p><dl>
+<dt><i>fileName</i></dt>
+<dd>
+name of the file containing the subscription (string)
+</dd>
+</dl><dl>
+<dt>Returns:</dt>
+<dd>
+flag indicating a valid file (boolean). A file is considered
+            valid, if the checksum is OK or the file does not contain a
+            checksum (i.e. cannot be checked).
+</dd>
+</dl><a NAME="AdBlockSubscription.adBlockDisabledForUrl" ID="AdBlockSubscription.adBlockDisabledForUrl"></a>
 <h4>AdBlockSubscription.adBlockDisabledForUrl</h4>
 <b>adBlockDisabledForUrl</b>(<i>url</i>)
 <p>

eric ide

mercurial