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

getBookHash API method (not implemented yet)

This commit is contained in:
Nikolay Pultsin 2011-12-30 10:20:00 +00:00
parent 765c465302
commit a63666d224
4 changed files with 13 additions and 0 deletions

View file

@ -72,6 +72,8 @@ public class ApiServerImplementation extends ApiInterface.Stub implements Api, A
return ApiObject.envelope(getBookTitle());
case GET_BOOK_FILE_NAME:
return ApiObject.envelope(getBookFileName());
case GET_BOOK_HASH:
return ApiObject.envelope(getBookHash());
case GET_PARAGRAPHS_NUMBER:
return ApiObject.envelope(getParagraphsNumber());
case GET_ELEMENTS_NUMBER:
@ -183,6 +185,11 @@ public class ApiServerImplementation extends ApiInterface.Stub implements Api, A
return null;
}
public String getBookHash() {
// TODO: implement
return null;
}
// page information
public TextPosition getPageStart() {
return getTextPosition(myReader.getTextView().getStartCursor());