X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;ds=sidebyside;f=src%2Fbe%2Fnikiroo%2Ffanfix%2Freader%2FReader.java;h=bd13e5cb8c032e6866b72c30693d625eae0815e1;hb=e92e4ae338d932e6b65e855b4b710e14b5ace1b7;hp=59ed024f42380a8a50f2b3e5fa199146d9092459;hpb=7879b47fdbdcaf465327bcbee53a7e31331feb97;p=fanfix.git
diff --git a/src/be/nikiroo/fanfix/reader/Reader.java b/src/be/nikiroo/fanfix/reader/Reader.java
index 59ed024..bd13e5c 100644
--- a/src/be/nikiroo/fanfix/reader/Reader.java
+++ b/src/be/nikiroo/fanfix/reader/Reader.java
@@ -183,12 +183,15 @@ public interface Reader {
* @param item
* the item to select (0 = do not select a specific item but show
* all the page, items start at 1)
+ * @param sync
+ * execute the process synchronously (wait until it is terminated
+ * before returning)
*
* @throws IOException
* in case of I/O error
*/
- public void search(SupportType searchOn, String keywords, int page, int item)
- throws IOException;
+ public void search(SupportType searchOn, String keywords, int page,
+ int item, boolean sync) throws IOException;
/**
* Search based upon a hierarchy of tags, or search for (sub)tags.
@@ -208,19 +211,22 @@ public interface Reader {
* the website to search on
* @param page
* the page of results to show (0 = request the maximum number of
- * pages, pages start at 1)
+ * pages, pages start at 1)
* @param item
* the item to select (0 = do not select a specific item but show
- * all the page, items start at 1)
+ * all the page, items start at 1)
+ * @param sync
+ * execute the process synchronously (wait until it is terminated
+ * before returning)
* @param tags
- * the tags display names to search for (this is a tag
+ * the tags indices to search for (this is a tag
* hierarchy, NOT a multiple tags choice)
*
* @throws IOException
* in case of I/O error
*/
public void searchTag(SupportType searchOn, int page, int item,
- String... tags) throws IOException;
+ boolean sync, Integer... tags) throws IOException;
/**
* Open the {@link Story} with an external reader (the program should be