// Path: app/src/main/java/com/bytetobyte/xwallet/service/coin/CoinManagerFactory.java
// public abstract class CoinManagerFactory {
// 
//     /**
//      *
//      */
//     public final static int BITCOIN = 0x1;
// 
//     /**
//      *
//      * @param coinInt
//      * @return
//      */
//     public static CoinManager getCoinManagerBy(Context context, int coinInt) {
// 
//         CoinManager selected = null;
//         File dataDir = null;
// 
//         /**
//          *
//          */
//         switch (coinInt) {
//             case BITCOIN:
//                 dataDir = context.getDir(Bitcoin.BITCOIN_DATA_DIR_NAME, Context.MODE_PRIVATE);
//                 selected = new BitcoinManager(new Bitcoin(dataDir));
//                 break;
// 
//             default:
//                 dataDir = context.getDir(Bitcoin.BITCOIN_DATA_DIR_NAME, Context.MODE_PRIVATE);
//                 selected = new BitcoinManager(new Bitcoin(dataDir));
//                 break;
//         }
// 
//         return selected;
//     }
// }


import com.bytetobyte.xwallet.service.coin.CoinManagerFactory;
import java.util.List;
package com.bytetobyte.xwallet.service.ipcmodel;



/**
 * Created by bruno on 29.03.17.
 */
public class SyncedMessage {
    private int _coinId;
    private String amount;
    private List<String> addresses;

    /**
     *
     * @param amount
     * @param addresses
     */
    public SyncedMessage(int coinId, String amount, List<String> addresses) {
        this._coinId = coinId;
        this.amount = amount;
        this.addresses = addresses;
    }

    public int getCoinId() {
        return _coinId;
    }

    public String getAmount() {
        return amount;
    }

    public List<String> getAddresses() {
        return addresses;
    }

    /**
     *
     * @return
     */
    public String getCoinName() {
        String name = "N/A";

        switch (_coinId) {
// Path: app/src/main/java/com/bytetobyte/xwallet/service/coin/CoinManagerFactory.java
// public abstract class CoinManagerFactory {
// 
//     /**
//      *
//      */
//     public final static int BITCOIN = 0x1;
// 
//     /**
//      *
//      * @param coinInt
//      * @return
//      */
//     public static CoinManager getCoinManagerBy(Context context, int coinInt) {
// 
//         CoinManager selected = null;
//         File dataDir = null;
// 
//         /**
//          *
//          */
//         switch (coinInt) {
//             case BITCOIN:
//                 dataDir = context.getDir(Bitcoin.BITCOIN_DATA_DIR_NAME, Context.MODE_PRIVATE);
//                 selected = new BitcoinManager(new Bitcoin(dataDir));
//                 break;
// 
//             default:
//                 dataDir = context.getDir(Bitcoin.BITCOIN_DATA_DIR_NAME, Context.MODE_PRIVATE);
//                 selected = new BitcoinManager(new Bitcoin(dataDir));
//                 break;
//         }
// 
//         return selected;
//     }
// }


// Path: app/src/main/java/com/bytetobyte/xwallet/service/ipcmodel/SyncedMessage.java
import com.bytetobyte.xwallet.service.coin.CoinManagerFactory;
import java.util.List;

package com.bytetobyte.xwallet.service.ipcmodel;



/**
 * Created by bruno on 29.03.17.
 */
public class SyncedMessage {
    private int _coinId;
    private String amount;
    private List<String> addresses;

    /**
     *
     * @param amount
     * @param addresses
     */
    public SyncedMessage(int coinId, String amount, List<String> addresses) {
        this._coinId = coinId;
        this.amount = amount;
        this.addresses = addresses;
    }

    public int getCoinId() {
        return _coinId;
    }

    public String getAmount() {
        return amount;
    }

    public List<String> getAddresses() {
        return addresses;
    }

    /**
     *
     * @return
     */
    public String getCoinName() {
        String name = "N/A";

        switch (_coinId) {
            case CoinManagerFactory.BITCOIN: