// Path: app/src/main/java/com/lgvalle/beaufitulphotos/fivehundredpxs/model/Feature.java
// public enum Feature {
// 	Popular("popular", R.string.feature_popular),
// 	HighestRated("highest_rated", R.string.feature_highest_rated);
// 
// 	private final String param;
// 	private final int title;
// 
// 	Feature(String param, int title) {
// 		this.param = param;
// 		this.title = title;
// 	}
// 
// 	public String getParam() {
// 		return param;
// 	}
// 
// 	public int getTitle() {
// 		return title;
// 	}
// }


import android.content.Context;
import com.lgvalle.beaufitulphotos.fivehundredpxs.model.Feature;
package com.lgvalle.beaufitulphotos.interfaces;


/**
 * Created by lgvalle on 21/07/14.
 * <p/>
 * Interface for main activity presenter.
 * This is just a simple example to illustrate how it's works
 */
public interface BeautifulPhotosPresenter {
	/**
	 * Request photos from service and post results into events bus
	 */
	void needPhotos();

	/**
	 * Request details for photo and post results into events bus
	 * @param photoModel Photo from which details are needed
	 */
	void needPhotoDetails(PhotoModel photoModel);

	/**
	 * Switch service feature resetting previous data and requesting new photos
	 * @param feature New feature to switch to
	 */
// Path: app/src/main/java/com/lgvalle/beaufitulphotos/fivehundredpxs/model/Feature.java
// public enum Feature {
// 	Popular("popular", R.string.feature_popular),
// 	HighestRated("highest_rated", R.string.feature_highest_rated);
// 
// 	private final String param;
// 	private final int title;
// 
// 	Feature(String param, int title) {
// 		this.param = param;
// 		this.title = title;
// 	}
// 
// 	public String getParam() {
// 		return param;
// 	}
// 
// 	public int getTitle() {
// 		return title;
// 	}
// }


// Path: app/src/main/java/com/lgvalle/beaufitulphotos/interfaces/BeautifulPhotosPresenter.java
import android.content.Context;
import com.lgvalle.beaufitulphotos.fivehundredpxs.model.Feature;

package com.lgvalle.beaufitulphotos.interfaces;


/**
 * Created by lgvalle on 21/07/14.
 * <p/>
 * Interface for main activity presenter.
 * This is just a simple example to illustrate how it's works
 */
public interface BeautifulPhotosPresenter {
	/**
	 * Request photos from service and post results into events bus
	 */
	void needPhotos();

	/**
	 * Request details for photo and post results into events bus
	 * @param photoModel Photo from which details are needed
	 */
	void needPhotoDetails(PhotoModel photoModel);

	/**
	 * Switch service feature resetting previous data and requesting new photos
	 * @param feature New feature to switch to
	 */
	void switchFeature(Feature feature);