installationservices/swcomponentregistry/inc_private/scrserver.h
changeset 25 98b66e4fb0be
parent 24 84a16765cd86
equal deleted inserted replaced
24:84a16765cd86 25:98b66e4fb0be
     1 /*
     1 /*
     2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2008-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".
    28 #define SCRSERVER_H
    28 #define SCRSERVER_H
    29 
    29 
    30 #include <scs/scsserver.h>
    30 #include <scs/scsserver.h>
    31 #include "scrcommon.h"
    31 #include "scrcommon.h"
    32 #include "usifcommon.h"
    32 #include "usifcommon.h"
       
    33 
       
    34 _LIT_SECURE_ID(KSisRegistryServerSid, 0x10202DCA); 
       
    35 _LIT_SECURE_ID(KApparcServerSid, 0x10003A3F);
    33 
    36 
    34 namespace Usif
    37 namespace Usif
    35 	{
    38 	{
    36 	// forward declarations
    39 	// forward declarations
    37 	class CScrServer;
    40 	class CScrServer;
    96 	private:
    99 	private:
    97 		CScrServer();
   100 		CScrServer();
    98 		void ConstructL();
   101 		void ConstructL();
    99 		void SetupL();
   102 		void SetupL();
   100 		CPolicyServer::TCustomResult CheckDeleteComponentAllowedL(const RMessage2& aMsg);
   103 		CPolicyServer::TCustomResult CheckDeleteComponentAllowedL(const RMessage2& aMsg);
   101 		CPolicyServer::TCustomResult CheckComponentIdMatchingEnvironmentL(const RMessage2& aMsg);				
   104 		CPolicyServer::TCustomResult CheckComponentIdMatchingEnvironmentL(const RMessage2& aMsg, TBool aCheckForSingleApp=EFalse);				
   102 		CPolicyServer::TCustomResult CheckSoftwareNameMatchingEnvironmentL(const RMessage2& aMsg);
   105 		CPolicyServer::TCustomResult CheckSoftwareNameMatchingEnvironmentL(const RMessage2& aMsg);
   103 		CPolicyServer::TCustomResult CheckAllowedFilePathL(const RMessage2& aMsg);
   106 		CPolicyServer::TCustomResult CheckAllowedFilePathL(const RMessage2& aMsg);
   104 		CPolicyServer::TCustomResult CheckClientIsInstallerL(const RMessage2& aMsg);
   107 		CPolicyServer::TCustomResult CheckClientIsInstallerL(const RMessage2& aMsg);
   105 		CPolicyServer::TCustomResult CheckCommonComponentPropertySettableL(const RMessage2& aMsg, TCapability aRequiredCapability);
   108 		CPolicyServer::TCustomResult CheckCommonComponentPropertySettableL(const RMessage2& aMsg, TCapability aRequiredCapability);
   106 		
   109