|
1 // Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #include <asclidefinitions.h> |
|
17 |
|
18 // System includes |
|
19 |
|
20 // User includes |
|
21 #include "ASShdPragma.h" |
|
22 #include "ASShdOpCodes.h" |
|
23 |
|
24 // Type definitions |
|
25 |
|
26 // Constants |
|
27 |
|
28 // Enumerations |
|
29 |
|
30 |
|
31 // |
|
32 // ----> ASCliDefinitions (source) |
|
33 // |
|
34 |
|
35 EXPORT_C const TDesC& ASCliDefinitions::ServerAndThreadName() |
|
36 /** Returns the alarm server's unique name. |
|
37 |
|
38 @return Unique name of the alarm server. */ |
|
39 { |
|
40 return KAlarmServerName; |
|
41 } |
|
42 |
|
43 |
|
44 /* |
|
45 * Return the name of the server image (Exe/Dll) |
|
46 */ |
|
47 const TDesC& ASCliDefinitions::ServerImageName() |
|
48 { |
|
49 return KAlarmServerImageName; |
|
50 } |
|
51 |
|
52 |
|
53 /* |
|
54 * Return the Uid associated with the server image |
|
55 */ |
|
56 TUidType ASCliDefinitions::ServerUidType() |
|
57 { |
|
58 return TUidType(KNullUid, KNullUid, KAlarmServerUid); |
|
59 } |
|
60 |
|
61 |
|
62 /* |
|
63 * Return the version number of the server/client |
|
64 */ |
|
65 TVersion ASCliDefinitions::Version() |
|
66 { |
|
67 return TVersion(KAlarmServerMajorVN, KAlarmServerMinorVN, KAlarmServerBuildVN); |
|
68 } |
|
69 |
|
70 |