crashanalysis/crashanalyser/com.nokia.s60tools.crashanalyser/src/com/nokia/s60tools/crashanalyser/model/DecodingData.java
changeset 0 5ad7ad99af01
child 4 615035072f7e
equal deleted inserted replaced
-1:000000000000 0:5ad7ad99af01
       
     1 /*
       
     2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 package com.nokia.s60tools.crashanalyser.model;
       
    19 
       
    20 import com.nokia.s60tools.crashanalyser.data.*;
       
    21 import java.util.*;
       
    22 
       
    23 /**
       
    24  * This class is used to save data entered in Wizard pages. This is
       
    25  * then passed to DecodingEngine so that it knows what to process.
       
    26  *
       
    27  */
       
    28 public class DecodingData {
       
    29 
       
    30 	/**
       
    31 	 * Constructor
       
    32 	 */
       
    33 	public DecodingData() {		
       
    34 		// No implementation needed
       
    35 	}
       
    36 	
       
    37 	/**
       
    38 	 * Decoder Engine contains a list of files which user selected with
       
    39 	 * Wizard. However, user might only want to actually decode couple of those
       
    40 	 * files. So this index list contains indexes of those files which are to be
       
    41 	 * decoded. 
       
    42 	 */
       
    43 	public List<Integer> crashFileIndexes = null;
       
    44 	
       
    45 	/**
       
    46 	 * Contains list of provided symbol file locations or null
       
    47 	 * if no symbol files were provided.
       
    48 	 */
       
    49 	public String[] symbolFiles = null;
       
    50 	
       
    51 	/**
       
    52 	 * path to mapfiles.zip or empty if not provided
       
    53 	 */
       
    54 	public String mapFilesZip = "";
       
    55 
       
    56 	/**
       
    57 	 * path to map files or empty if not provided
       
    58 	 */
       
    59 	public String mapFilesFolder = "";
       
    60 	
       
    61 	/**
       
    62 	 * Contains list of provided image file locations or null
       
    63 	 * if no symbol files were provided.
       
    64 	 */
       
    65 	public String[] imageFiles = null;
       
    66 	
       
    67 	/**
       
    68 	 * Whether an html file should be generated from input files
       
    69 	 */
       
    70 	public boolean html = false;
       
    71 	
       
    72 	/**
       
    73 	 * Whether a text file should be generated from input files
       
    74 	 */
       
    75 	public boolean text = false;
       
    76 	
       
    77 	/**
       
    78 	 * Folder where html and text files are stored. If empty is passed
       
    79 	 * (and html and/or text is true), input file's folder will be used.
       
    80 	 * If null is passed, nothing is created even if html or text would be true.
       
    81 	 */
       
    82 	public String htmlTextOutputFolder = "";
       
    83 	
       
    84 	/**
       
    85 	 * Defines whether we are importing new files or we are re-decoding
       
    86 	 * existing files
       
    87 	 */
       
    88 	public boolean importingFiles = true;
       
    89 	
       
    90 	/**
       
    91 	 * Error Library
       
    92 	 */
       
    93 	public ErrorLibrary errorLibrary = null;
       
    94 	
       
    95 }