epoc32/include/ups/upserr.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     1 /*
     2 * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     5 * under the terms of the License "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 *
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    11 *
    12 * Contributors:
    13 *
    14 * Description: 
    15 * Error defined by the User Prompt Service.
    16 * System servers MUST interpret any error returned by the User Prompt Service as EDecNo 
    17 * and deny the client applications request.
    18 *
    19 */
    20 
    21 
    22 /**
    23  @file
    24  @publishedAll
    25  @released. 
    26 */
    27 
    28 #ifndef UPSERR_H
    29 #define UPSERR_H
    30 
    31 #include <e32base.h>
    32 #include <e32cmn.h>
    33 
    34 /// A fingerprint was either empty or exceeded KUpsMaxFingerprintLength bytes.
    35 const TInt KErrUpsBadFingerprintLength = -5703;
    36 
    37 /// The policy evaluator ECOM plug-in specified in the policy file was not found.
    38 const TInt KErrUpsMissingPolicyEvaluator = -5704;
    39 
    40 /// The dialog creator ECOM plug-in specified in the policy file was not found.
    41 const TInt KErrUpsMissingDialogCreator = -5705;
    42 
    43 /// An error occured whilst parsing a policy file.		
    44 const TInt KErrUpsBadPolicyFile = -5706;
    45 
    46 /// No policy file was found for the requested server secure id and service uid
    47 const TInt KErrUpsMissingPolicyFile = -5707;
    48 
    49 /// A file in the policy directory did not conform to the policy file name format
    50 /// -  ups_SystemServerSid_ServiceUid.rsc
    51 const TInt KErrUpsInvalidPolicyFileName = -5708;
    52 
    53 //One of the required arguments was not found
    54 const TInt KErrUpsMissingArgument		= -5709;
    55 
    56 //The client entity was exceeded the maximum allowed length
    57 const TInt KErrUpsBadClientEntityLength	 = -5710;
    58 
    59 //The client thread ID is invalid (either bad, or has since terminated)
    60 const TInt KErrUpsBadClientThreadId	 = -5711;
    61 
    62 //The client process ID is invalid (either bad, or has since terminated)
    63 const TInt KErrUpsBadClientProcessId	 = -5712;
    64 
    65 /// UPS policy library panic category
    66 _LIT(KUpsPoliciesPanicCat, "UPS-Policies");
    67 /// UPS policy library panic codes
    68 enum TUpsPoliciesPanicCat 
    69 	{
    70 	/// A corrupt policy file on the Z drive was encountered
    71 	EUpsPoliciesCorruptRomPolicy = 0
    72 	};
    73 
    74 /// UPS client library panic category
    75 _LIT(KUpsClientPanicCat, "UPS-Client");
    76 /// UPS policy library panic codes
    77 enum TUpsClientPanicCat 
    78 	{
    79 	/// RUpsSubsession has not been initialised
    80 	EUpsClientNotInitialised = 0
    81 	};
    82 
    83 
    84 #endif // UPSERR_H
    85