// Path: app/src/main/java/org/pquery/webdriver/ProgressInfo.java
// public class ProgressInfo {
// 
//     public int percent;
//     public String htmlMessage;
// 
// 
//     public static ProgressInfo create(int percent, String plainMessage, String goodDetail) {
//         if (goodDetail != null && goodDetail.length() > 0)
//             return new ProgressInfo(percent, plainMessage + " [" + goodDetail + "]");
//         else
//             return new ProgressInfo(percent, plainMessage);
//     }
// 
//     public ProgressInfo(int percent, String htmlMessage) {
//         this.percent = percent;
//         this.htmlMessage = htmlMessage;
//     }
// 
//     @Override
//     public String toString() {
//         return "[percent=" + percent + ",htmlMessage=" + htmlMessage + "]";
//     }
// 
//     public ProgressInfo(Bundle bundle) {
//         percent = bundle.getInt("percent");
//         htmlMessage = bundle.getString("htmlMessage");
//     }
// 
//     public void saveToBundle(Bundle bundle) {
//         bundle.putInt("percent", percent);
//         bundle.putString("htmlMessage", htmlMessage);
//     }
// }


import org.pquery.webdriver.ProgressInfo;
import java.io.File;

package org.pquery.service;



public interface PQServiceListener {

    public void onServiceOperationResult(String title, String message, int notificationId, File fileNameDownloaded);

    //public void onServicePQDownloaded(); // DownloadPQResult downloadPQResult);
    public void onServiceRetrievePQList(RetrievePQListResult pqListResult);
    //public void onServicePQCreated(CreatePQResult createPQResult);


// Path: app/src/main/java/org/pquery/webdriver/ProgressInfo.java
// public class ProgressInfo {
// 
//     public int percent;
//     public String htmlMessage;
// 
// 
//     public static ProgressInfo create(int percent, String plainMessage, String goodDetail) {
//         if (goodDetail != null && goodDetail.length() > 0)
//             return new ProgressInfo(percent, plainMessage + " [" + goodDetail + "]");
//         else
//             return new ProgressInfo(percent, plainMessage);
//     }
// 
//     public ProgressInfo(int percent, String htmlMessage) {
//         this.percent = percent;
//         this.htmlMessage = htmlMessage;
//     }
// 
//     @Override
//     public String toString() {
//         return "[percent=" + percent + ",htmlMessage=" + htmlMessage + "]";
//     }
// 
//     public ProgressInfo(Bundle bundle) {
//         percent = bundle.getInt("percent");
//         htmlMessage = bundle.getString("htmlMessage");
//     }
// 
//     public void saveToBundle(Bundle bundle) {
//         bundle.putInt("percent", percent);
//         bundle.putString("htmlMessage", htmlMessage);
//     }
// }


// Path: app/src/main/java/org/pquery/service/PQServiceListener.java
import org.pquery.webdriver.ProgressInfo;
import java.io.File;

package org.pquery.service;



public interface PQServiceListener {

    public void onServiceOperationResult(String title, String message, int notificationId, File fileNameDownloaded);

    //public void onServicePQDownloaded(); // DownloadPQResult downloadPQResult);
    public void onServiceRetrievePQList(RetrievePQListResult pqListResult);
    //public void onServicePQCreated(CreatePQResult createPQResult);


    public void onServiceProgressInfo(ProgressInfo progressInfo);
