secureswitools/swisistools/source/rscparser/apsecutils.cpp
changeset 60 245df5276b97
parent 42 d17dc5398051
equal deleted inserted replaced
53:ae54820ef82c 60:245df5276b97
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
   112     aHasWriteDeviceDataCap = EFalse;
   112     aHasWriteDeviceDataCap = EFalse;
   113     aIsSidProtected = EFalse;
   113     aIsSidProtected = EFalse;
   114 
   114 
   115 	std::string Filename = Ptr16ToString(&aAppFilename);
   115 	std::string Filename = Ptr16ToString(&aAppFilename);
   116 	std::string Path(aDerivedPath);
   116 	std::string Path(aDerivedPath);
       
   117 	#ifdef __LINUX__
       
   118 	Path.append("/sys/bin/");
       
   119 	#else
   117 	Path.append("\\sys\\bin\\");
   120 	Path.append("\\sys\\bin\\");
       
   121 	#endif
       
   122 
   118 	Path.append(Filename);
   123 	Path.append(Filename);
   119 	Path.append(".exe");
   124 	Path.append(".exe");
   120 	
   125 	
   121     TInt ret = CApaSecurityUtils::GetInfo(Path);
   126     TInt ret = CApaSecurityUtils::GetInfo(Path);
   122 
   127