1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-04 10:19:33 +02:00

API enhancements

This commit is contained in:
Nikolay Pultsin 2011-06-19 14:02:10 +01:00
parent 37924e0072
commit 9296cef55e
6 changed files with 95 additions and 30 deletions

View file

@ -19,6 +19,8 @@
package org.geometerplus.android.fbreader.api;
import java.util.List;
public interface Api {
void connect();
void disconnect();
@ -29,8 +31,8 @@ public interface Api {
// book information
String getBookLanguage() throws ApiException;
String getBookTitle() throws ApiException;
//String getBookAuthors() throws ApiException;
//String getBookTags() throws ApiException;
//List<String> getBookAuthors() throws ApiException;
List<String> getBookTags() throws ApiException;
String getBookFileName() throws ApiException;
// text information
@ -46,4 +48,6 @@ public interface Api {
// manage view
void setPageStart(TextPosition position) throws ApiException;
void highlightArea(TextPosition start, TextPosition end) throws ApiException;
void clearHighlighting() throws ApiException;
}