dbgagents/trkagent/tcbclient/TrkTcbClientDefs.cpp
changeset 0 c6b0df440bee
equal deleted inserted replaced
-1:000000000000 0:c6b0df440bee
       
     1 /*
       
     2 * Copyright (c) 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 *
       
    16 */
       
    17 
       
    18 #include "TrkTcbClientDefs.h"
       
    19 #include "TrkTcbCmdCodes.h"
       
    20 
       
    21 // System includes
       
    22 
       
    23 // User includes
       
    24 
       
    25 // Type definitions
       
    26 
       
    27 // Constants
       
    28 
       
    29 // Enumerations
       
    30 
       
    31 
       
    32 //
       
    33 // TrkTcbClientDefs (source)
       
    34 //
       
    35 
       
    36 //
       
    37 // TrkTcbClientDefs::ServerAndThreadName()
       
    38 //
       
    39 // Returns the TrkTcb server's unique name.
       
    40 // @return Unique name of the TrkTcb server.
       
    41 //
       
    42 const TDesC& TrkTcbClientDefs::ServerAndThreadName()
       
    43 {
       
    44 	return KTrkTcbServerName;
       
    45 }
       
    46 
       
    47 //
       
    48 // TrkTcbClientDefs::ServerImageName()
       
    49 //
       
    50 // Return the name of the server image (Exe/Dll)
       
    51 //
       
    52 const TDesC& TrkTcbClientDefs::ServerImageName()
       
    53 {
       
    54 	return KTrkTcbServerImageName;
       
    55 }
       
    56 
       
    57 //
       
    58 // TrkTcbClientDefs::ServerUidType()
       
    59 //
       
    60 // Return the Uid associated with the server image
       
    61 //
       
    62 TUidType TrkTcbClientDefs::ServerUidType()
       
    63 {
       
    64 	return TUidType(KNullUid, KNullUid, KTrkTcbServerUid);
       
    65 }
       
    66 
       
    67 
       
    68 //
       
    69 // TrkTcbClientDefs::Version()
       
    70 //
       
    71 // Return the version number of the server/client
       
    72 //
       
    73 TVersion TrkTcbClientDefs::Version()
       
    74 {
       
    75 	return TVersion(KTrkTcbServerMajorVN, KTrkTcbServerMinorVN, KTrkTcbServerBuildVN);
       
    76 }
       
    77 
       
    78