appinstaller/AppinstUi/sisxsifplugin/inc/sisxsifpluginuihandlerbase.h
changeset 42 d17dc5398051
parent 37 6e7b00453237
child 44 329d304c1aa1
equal deleted inserted replaced
37:6e7b00453237 42:d17dc5398051
    20 
    20 
    21 #include <e32base.h>                    // CBase
    21 #include <e32base.h>                    // CBase
    22 #include <swi/msisuihandlers.h>         // MUiHandler
    22 #include <swi/msisuihandlers.h>         // MUiHandler
    23 #include <f32file.h>                    // RFs
    23 #include <f32file.h>                    // RFs
    24 #include <sifui.h>                      // CSifUi
    24 #include <sifui.h>                      // CSifUi
       
    25 #include <usif/sif/sifcommon.h>         // CComponentInfo::CNode
       
    26 #include <usif/sif/sifnotification.h>   // TSifOperationSubPhase, TErrorCategory
    25 
    27 
    26 
    28 
    27 namespace Usif
    29 namespace Usif
    28 {
    30 {
    29     class CSisxSifPluginInstallParams;
    31     class CSisxSifPluginInstallParams;
    39         ~CSisxSifPluginUiHandlerBase();
    41         ~CSisxSifPluginUiHandlerBase();
    40 
    42 
    41     public:     // new functions
    43     public:     // new functions
    42         virtual void DisplayPreparingInstallL( const TDesC& aFileName ) = 0;
    44         virtual void DisplayPreparingInstallL( const TDesC& aFileName ) = 0;
    43         virtual void DisplayCompleteL() = 0;
    45         virtual void DisplayCompleteL() = 0;
    44         virtual void DisplayFailedL( TInt aErrorCode ) = 0;
    46         virtual void DisplayFailedL( TErrorCategory aCategory, TInt aErrorCode,
       
    47                 const TDesC& aErrorMessage, const TDesC& aErrorDetails ) = 0;
    45 
    48 
    46     public:     // new functions
    49     public:     // new functions
    47         void SetInstallParamsL( const CSisxSifPluginInstallParams& aInstallParams );
    50         void SetInstallParamsL( const CSisxSifPluginInstallParams& aInstallParams );
    48         void SetMaxInstalledSize( TInt aSize );
    51         void SetMaxInstalledSize( TInt aSize );
    49         void SetDriveSelectionRequired( TBool aIsRequired );
    52         void SetDriveSelectionRequired( TBool aIsRequired );
       
    53         void PublishStartL( const CComponentInfo::CNode& aRootNode );
       
    54         void PublishProgressL( TSifOperationPhase aPhase, TSifOperationSubPhase aSubPhase,
       
    55                 TInt aCurrentProgress, TInt aTotal );
       
    56         void PublishCompletionL( TErrorCategory aErrorCategory, TInt aErrorCode,
       
    57                 const TDesC& aErrorMessage, const TDesC& aErrorDetails );
    50 
    58 
    51     protected:	// data
    59     protected:	// data
    52         RFs& iFs;
    60         RFs& iFs;
    53         TInt iMaxInstalledSize;
    61         TInt iMaxInstalledSize;
    54         TBool iIsDriveSelectionRequired;
    62         TBool iIsDriveSelectionRequired;
    55         CSisxSifPluginInstallParams* iInstallParams;
    63         CSisxSifPluginInstallParams* iInstallParams;
       
    64         HBufC* iGlobalComponentId;
       
    65         CPublishSifOperationInfo* iPublishSifOperationInfo;
    56         };
    66         };
    57 
    67 
    58 }   // namespace Usif
    68 }   // namespace Usif
    59 
    69 
    60 #endif      // C_SISXSIFPLUGUIHANDLERBASE_H
    70 #endif      // C_SISXSIFPLUGUIHANDLERBASE_H