installationservices/swi/source/sishelper/uissclienthandler.h
branchRCL_3
changeset 26 8b7f4e561641
parent 25 7333d7932ef7
equal deleted inserted replaced
25:7333d7932ef7 26:8b7f4e561641
     1 /*
     1 /*
     2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of the License "Eclipse Public License v1.0"
     5 * under the terms of the License "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    26 #include <e32std.h>
    26 #include <e32std.h>
    27 #include "../uiss/client/uissclient.h"
    27 #include "../uiss/client/uissclient.h"
    28 #include "swi/msisuihandlers.h"
    28 #include "swi/msisuihandlers.h"
    29 #include "swi/launcher.h"
    29 #include "swi/launcher.h"
    30 #ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK
    30 #ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK
    31 #include <usif/sif/sifcommon.h>
    31 namespace Usif
       
    32 	{
       
    33 	class CComponentInfo;
       
    34 	}
    32 #include "swi/nativecomponentinfo.h"
    35 #include "swi/nativecomponentinfo.h"
    33 #endif
    36 #endif
    34 
    37 
    35 namespace Swi
    38 namespace Swi
    36 {
    39 {
   161 	void WaitForSisHelperShutdown();
   164 	void WaitForSisHelperShutdown();
   162 
   165 
   163 	MUiHandler& iUiHandler;        ///< UI implementation
   166 	MUiHandler& iUiHandler;        ///< UI implementation
   164 	MCancelHandler* iCancelHandler;///< Internal cancel handler
   167 	MCancelHandler* iCancelHandler;///< Internal cancel handler
   165 	HBufC8* iBuf;                  ///< Command buffer
   168 	HBufC8* iBuf;                  ///< Command buffer
       
   169 	HBufC8* iBufLogger;            ///< Command buffer
   166 	TPtr8 iPtrIntoBuf;
   170 	TPtr8 iPtrIntoBuf;
   167 	RUissSession iUissSession;     ///< UISS session
   171 	RUissSession iUissSession;     ///< UISS session
   168 
   172 
   169 	TBool iActiveObjectMode;		///< Normally true for CActive object mode, set to false for sync install
   173 	TBool iActiveObjectMode;		///< Normally true for CActive object mode, set to false for sync install
   170 	TRequestStatus* iClientStatus; ///< Client request status
   174 	TRequestStatus* iClientStatus; ///< Client request status
   181    
   185    
   182    	#ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK 
   186    	#ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK 
   183 	void AllocCompInfoBufL(TInt aBufSize);
   187 	void AllocCompInfoBufL(TInt aBufSize);
   184 	void ConstructCompInfoFromBufferL();
   188 	void ConstructCompInfoFromBufferL();
   185 	Usif::CComponentInfo::CNode* MapToComponentInfoL(CNativeComponentInfo& aNativeComponentInfo);
   189 	Usif::CComponentInfo::CNode* MapToComponentInfoL(CNativeComponentInfo& aNativeComponentInfo);
   186 	void MapToApplicationInfoL(RCPointerArray<Swi::CNativeComponentInfo::CNativeApplicationInfo>& aNativeApplicationsInfo, RPointerArray<Usif::CComponentInfo::CApplicationInfo>& aApplicationsInfo);
   190 	
   187 	HBufC8* iCompInfoBuffer;		//< Component Information storage buffer
   191 	HBufC8* iCompInfoBuffer;		//< Component Information storage buffer
   188 	TPtr8   iCompInfoBufPtr;
   192 	TPtr8   iCompInfoBufPtr;
   189 	
   193 	
   190 	Usif::CComponentInfo* iComponentInfo;
   194 	Usif::CComponentInfo* iComponentInfo;
   191 	#endif
   195 	#endif