themeinstaller/source/src/com/nokia/tools/themeinstaller/installationmanager/IInstallationListener.java
branchRCL_3
changeset 17 fe49e33862e2
parent 16 b685c59de105
child 18 04b7640f6fb5
equal deleted inserted replaced
16:b685c59de105 17:fe49e33862e2
     1 /*
       
     2 * Copyright (c) 2007 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:  This class is interface for ODT installation
       
    15  *
       
    16 */
       
    17 
       
    18 package com.nokia.tools.themeinstaller.installationmanager;
       
    19 
       
    20 public interface IInstallationListener
       
    21     {
       
    22 
       
    23     // CONSTANTS
       
    24     // Installation states
       
    25     public static final int STATE_PARSED = 1;
       
    26     public static final int STATE_WRITED = 2;
       
    27     public static final int NO_ERROR = 0;
       
    28     public static final int ERROR = -1;
       
    29 
       
    30     /**
       
    31      * Called when installation has progressed
       
    32      * @param aEvent Progress event
       
    33      */
       
    34     public void installationProgress( ProgressEvent aEvent );
       
    35 
       
    36     /**
       
    37      * Called when installation is finished
       
    38      * @param aEvent Progress event
       
    39      */
       
    40     public void installationCompleted( ProgressEvent aEvent );
       
    41 
       
    42     }