2011-12-06 12:52:33 +00:00
|
|
|
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;
|
|
|
|
|
2011-12-06 12:52:33 +00:00
|
|
|
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();
|
2011-12-06 12:52:33 +00:00
|
|
|
public String getSessionId();
|
|
|
|
public boolean getUnreadArticlesOnly();
|
|
|
|
public boolean isSmallScreen();
|
|
|
|
public boolean getUnreadOnly();
|
|
|
|
public int getApiLevel();
|
2011-12-09 20:49:55 +00:00
|
|
|
public void setSelectedArticle(Article article);
|
2012-03-12 11:57:57 +00:00
|
|
|
|
|
|
|
public void copyToClipboard(String str);
|
2011-12-06 12:52:33 +00:00
|
|
|
}
|
|
|
|
|