0
|
1 |
/*
|
|
2 |
* Copyright (c) 2005-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 "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 |
* Constants - STANDARD SET
|
|
16 |
*
|
|
17 |
*/
|
|
18 |
|
|
19 |
|
|
20 |
/* success -- returned by client stubs and return values */
|
|
21 |
const ERR_NONE = 0;
|
|
22 |
|
|
23 |
/* invalid return code used as a place holder */
|
|
24 |
const ERR_INVALID_ERROR_CODE = -16;
|
|
25 |
|
|
26 |
/* service stub implementation (returned in RV - i.e. as the result) */
|
|
27 |
const ERR_SERVICE_ALREADY_STARTED = -1;
|
|
28 |
const ERR_SERVICE_NOT_RUNNING = -2;
|
|
29 |
const ERR_ACTIVE_USER_SESSIONS = -3;
|
|
30 |
const ERR_FAILED_TO_REMOVE_ACTIVE_SESSIONS = -4;
|
|
31 |
const ERR_FAILED_TO_CREATE_COMPONENT_MANAGER = -5;
|
|
32 |
const ERR_FAILED_TO_RETRIEVE_KEY = -6;
|
|
33 |
const ERR_INSTANCE_DOES_NOT_EXIST = -7;
|
|
34 |
|
|
35 |
/* component manager (returned in RV - i.e. as the result ) */
|
|
36 |
const ERR_CANNOT_CREATE_NEW_INSTANCE = -9;
|
|
37 |
|
|
38 |
/* set by the stub glue code as the completion code (i.e. as the RCC) */
|
|
39 |
const ERR_MISSING_PARAMETER = -17;
|
|
40 |
const ERR_INVALID_METHOD = -8;
|
|
41 |
|
|
42 |
/* client stubs return one of these values or ERR_NONE (i.e. as the RCC) */
|
|
43 |
const ERR_STUB_ALREADY_CONNECTED = -10;
|
|
44 |
const ERR_FAILED_TO_CONNECT = -11;
|
|
45 |
const ERR_STUB_NOT_CONNECTED = -12;
|
|
46 |
const ERR_INVALID_RV_POINTER = -13;
|
|
47 |
const ERR_RPC_ERROR = -14;
|
|
48 |
const ERR_INVALID_SERVICE = -15;
|
|
49 |
const ERR_INVALID_CALL = -18;
|
|
50 |
|
|
51 |
/* standard error values returned from methods (RV) */
|
|
52 |
const ERR_INVALIDARG = -50;
|
|
53 |
const ERR_INVALIDSTATE = -51;
|
|
54 |
const ERR_GENERAL = -52;
|
|
55 |
|
|
56 |
/* info - required for the framework */
|
|
57 |
const INFO_MAXIMUM_OBJECTS = 256;
|
|
58 |
|
|
59 |
|
|
60 |
/*******************************************************************************
|
|
61 |
*
|
|
62 |
* Types
|
|
63 |
*
|
|
64 |
******************************************************************************/
|
|
65 |
typedef int TComponentList<>;
|