// Path: src/main/java/com/dcp/sm/config/io/OSValidator.java
// public class OSValidator
// {
//     private static String OS = System.getProperty("os.name").toLowerCase();
//     
//     public static void main(String[] args) {
//         System.out.println(OS);
//  
//         if (isWindows()) {
//             System.out.println("This is Windows");
//         } else if (isMac()) {
//             System.out.println("This is Mac");
//         } else if (isUnix()) {
//             System.out.println("This is Unix or Linux");
//         } else if (isSolaris()) {
//             System.out.println("This is Solaris");
//         } else {
//             System.out.println("Your OS is not support!!");
//         }
//     }
//  
//     public static boolean isWindows() {
//         return (OS.indexOf("win") >= 0);
//     }
//  
//     public static boolean isMac() {
//         return (OS.indexOf("mac") >= 0);
//     }
//  
//     public static boolean isUnix() {
//         return (OS.indexOf("nix") >= 0 || OS.indexOf("nux") >= 0 || OS.indexOf("aix") > 0 );
//     }
//  
//     public static boolean isSolaris() {
//         return (OS.indexOf("sunos") >= 0);
//     }
// 
// }
// 
// Path: src/main/java/com/dcp/sm/logic/factory/TypeFactory.java
// public static enum SCAN_FOLDER {
//     DEFAULT("pack"),
//     PACK_FOLDER("pack"),//Default
//     GROUP_FOLDER("group");
//         
//     private String _value;
//     private SCAN_FOLDER(String value)
//     {
//         _value = value;
//     }
//     @Override
//     public String toString()
//     {
//         return this._value;
//     }
// }
// 
// Path: src/main/java/com/dcp/sm/logic/factory/TypeFactory.java
// public static enum SCAN_MODE {
//     DEFAULT,
//     SIMPLE_SCAN,//Default
//     RECURSIVE_SCAN
// }


import java.io.Serializable;
import java.util.Map;
import com.dcp.sm.config.io.OSValidator;
import com.dcp.sm.logic.factory.TypeFactory.SCAN_FOLDER;
import com.dcp.sm.logic.factory.TypeFactory.SCAN_MODE;
package com.dcp.sm.logic.model.config;



/**
 * IzPack exported setup info configuration
 */
public class SetupConfig implements Serializable
{
    /**
     * Generated serial for file save
     */
    private static final long serialVersionUID = 4289372637132381636L;
    
    // Application
    private String appName="";//Application name
    private String appVersion="";//Application version
    private int appWidth=800, appHeight=600 ;//Application dimensions
    private boolean resizable = false;//If window is resizable
    // Author
    private String authorName="";//Author Name
    private String authorEmail="";//Author Email
    private String appURL="";//Application URL
    // Resources
    private String readmePath="";//Readme Path
    private String licensePath="";//License Path
    private String logoPath="";//Logo Path
    private String sideLogoPath="";//Side Logo Path
    // Langpacks
    private boolean lp_eng = true;
    private boolean lp_fra = false;
    private boolean lp_deu = false;
    private boolean lp_spa = false;
    private boolean lp_cus = false;
    private String lp_iso = "", lp_path = "";
    // Scan
    private String srcPath = "";//Packs source path
// Path: src/main/java/com/dcp/sm/config/io/OSValidator.java
// public class OSValidator
// {
//     private static String OS = System.getProperty("os.name").toLowerCase();
//     
//     public static void main(String[] args) {
//         System.out.println(OS);
//  
//         if (isWindows()) {
//             System.out.println("This is Windows");
//         } else if (isMac()) {
//             System.out.println("This is Mac");
//         } else if (isUnix()) {
//             System.out.println("This is Unix or Linux");
//         } else if (isSolaris()) {
//             System.out.println("This is Solaris");
//         } else {
//             System.out.println("Your OS is not support!!");
//         }
//     }
//  
//     public static boolean isWindows() {
//         return (OS.indexOf("win") >= 0);
//     }
//  
//     public static boolean isMac() {
//         return (OS.indexOf("mac") >= 0);
//     }
//  
//     public static boolean isUnix() {
//         return (OS.indexOf("nix") >= 0 || OS.indexOf("nux") >= 0 || OS.indexOf("aix") > 0 );
//     }
//  
//     public static boolean isSolaris() {
//         return (OS.indexOf("sunos") >= 0);
//     }
// 
// }
// 
// Path: src/main/java/com/dcp/sm/logic/factory/TypeFactory.java
// public static enum SCAN_FOLDER {
//     DEFAULT("pack"),
//     PACK_FOLDER("pack"),//Default
//     GROUP_FOLDER("group");
//         
//     private String _value;
//     private SCAN_FOLDER(String value)
//     {
//         _value = value;
//     }
//     @Override
//     public String toString()
//     {
//         return this._value;
//     }
// }
// 
// Path: src/main/java/com/dcp/sm/logic/factory/TypeFactory.java
// public static enum SCAN_MODE {
//     DEFAULT,
//     SIMPLE_SCAN,//Default
//     RECURSIVE_SCAN
// }


// Path: src/main/java/com/dcp/sm/logic/model/config/SetupConfig.java
import java.io.Serializable;
import java.util.Map;
import com.dcp.sm.config.io.OSValidator;
import com.dcp.sm.logic.factory.TypeFactory.SCAN_FOLDER;
import com.dcp.sm.logic.factory.TypeFactory.SCAN_MODE;

package com.dcp.sm.logic.model.config;



/**
 * IzPack exported setup info configuration
 */
public class SetupConfig implements Serializable
{
    /**
     * Generated serial for file save
     */
    private static final long serialVersionUID = 4289372637132381636L;
    
    // Application
    private String appName="";//Application name
    private String appVersion="";//Application version
    private int appWidth=800, appHeight=600 ;//Application dimensions
    private boolean resizable = false;//If window is resizable
    // Author
    private String authorName="";//Author Name
    private String authorEmail="";//Author Email
    private String appURL="";//Application URL
    // Resources
    private String readmePath="";//Readme Path
    private String licensePath="";//License Path
    private String logoPath="";//Logo Path
    private String sideLogoPath="";//Side Logo Path
    // Langpacks
    private boolean lp_eng = true;
    private boolean lp_fra = false;
    private boolean lp_deu = false;
    private boolean lp_spa = false;
    private boolean lp_cus = false;
    private String lp_iso = "", lp_path = "";
    // Scan
    private String srcPath = "";//Packs source path
    private SCAN_MODE scanMode = SCAN_MODE.SIMPLE_SCAN;// Scan mode (v1.2)