sl@0: // Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of the License "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // e32utils\setcap\setcap.h sl@0: // sl@0: // sl@0: sl@0: #ifndef __SETCAP_H__ sl@0: sl@0: #if defined(__WINS__) || defined(__TOOLS__) sl@0: #include sl@0: #include sl@0: #include sl@0: #endif sl@0: sl@0: #ifndef __WINS__ sl@0: #include sl@0: #endif sl@0: sl@0: __ASSERT_COMPILE(sizeof(SCapabilitySet)==sizeof(TInt64)); // When parsing capabilities we assume that it's a 64bit quantity sl@0: sl@0: GLREF_D TBool CapabilitySet; sl@0: GLREF_D SCapabilitySet Capability; sl@0: GLREF_D TBool SecureIdSet; sl@0: GLREF_D TSecureId SecureId; sl@0: GLREF_D TBool VendorIdSet; sl@0: GLREF_D TVendorId VendorId; sl@0: sl@0: #ifndef __EPOC32__ sl@0: GLREF_C TInt SetCap(HANDLE hFile); sl@0: #endif //!__EPOC32__ sl@0: sl@0: #ifndef __WINS__ sl@0: GLREF_C TInt SetCap(E32ImageHeader* h); sl@0: #endif //!__WINS__ sl@0: sl@0: #endif //__SETCAP_H__