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

preferences API (stub implementation)

This commit is contained in:
Nikolay Pultsin 2011-06-23 18:26:01 +01:00
parent eb46450995
commit 47fc0d3be1
4 changed files with 168 additions and 34 deletions

View file

@ -7,12 +7,15 @@ package org.geometerplus.android.fbreader.api;
import java.util.List;
public interface Api {
void connect();
void disconnect();
// fbreader information
// information about fbreader
String getFBReaderVersion() throws ApiException;
// preferences information
List<String> getOptionGroups() throws ApiException;
List<String> getOptionNames(String group) throws ApiException;
String getOptionValue(String group, String name) throws ApiException;
void setOptionValue(String group, String name, String value) throws ApiException;
// book information
String getBookLanguage() throws ApiException;
String getBookTitle() throws ApiException;