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:
parent
eb46450995
commit
47fc0d3be1
4 changed files with 168 additions and 34 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue