tt-rss-android/src/org/fox/ttrss/OnlineServices.java

35 lines
1.1 KiB
Java
Raw Normal View History

package org.fox.ttrss;
2012-06-19 10:18:00 +00:00
import org.fox.ttrss.types.Article;
import org.fox.ttrss.types.Feed;
import org.fox.ttrss.types.FeedCategory;
public interface OnlineServices {
public enum RelativeArticle { BEFORE, AFTER };
public Article getSelectedArticle();
public void saveArticleUnread(final Article article);
public void saveArticleMarked(final Article article);
public void saveArticlePublished(final Article article);
public void updateHeadlines();
public void openArticle(Article article, int compatAnimation);
public Article getRelativeArticle(Article article, RelativeArticle ra);
public void onCatSelected(FeedCategory cat);
public void onFeedSelected(Feed feed);
public void initMainMenu();
public void login();
2012-06-19 15:12:01 +00:00
//public Feed getActiveFeed();
//public FeedCategory getActiveCategory();
public String getSessionId();
public boolean getUnreadArticlesOnly();
public boolean isSmallScreen();
public boolean getUnreadOnly();
public int getApiLevel();
public void setSelectedArticle(Article article);
public void copyToClipboard(String str);
}