dbgagents/trkagent/dbgtrccomm/client/dbgtrcclidefs.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 "dbgtrcclidefs.h"
       
    19 #include "dbgtrccmdcodes.h"
       
    20 
       
    21 
       
    22 //
       
    23 // DbgTrcCliDefs (source)
       
    24 //
       
    25 
       
    26 //
       
    27 // DbgTrcCliDefs::ServerAndThreadName()
       
    28 //
       
    29 // Returns the DbgTrc server's unique name.
       
    30 // @return Unique name of the DbgTrc server.
       
    31 //
       
    32 const TDesC& DbgTrcCliDefs::ServerAndThreadName()
       
    33 {
       
    34 	return KDbgTrcServerName;
       
    35 }
       
    36 
       
    37 //
       
    38 // DbgTrcCliDefs::ServerImageName()
       
    39 //
       
    40 // Return the name of the server image (Exe/Dll)
       
    41 //
       
    42 const TDesC& DbgTrcCliDefs::ServerImageName()
       
    43 {
       
    44 	return KDbgTrcServerImageName;
       
    45 }
       
    46 
       
    47 //
       
    48 // DbgTrcCliDefs::ServerUidType()
       
    49 //
       
    50 // Return the Uid associated with the server image
       
    51 //
       
    52 TUidType DbgTrcCliDefs::ServerUid()
       
    53 {
       
    54 	return TUidType(KNullUid, KNullUid, KDbgTrcServerUid);
       
    55 }
       
    56 
       
    57 
       
    58 //
       
    59 // DbgTrcCliDefs::Version()
       
    60 //
       
    61 // Return the version number of the server/client
       
    62 //
       
    63 TVersion DbgTrcCliDefs::Version()
       
    64 {
       
    65 	return TVersion(KDbgTrcServerMajorVN, KDbgTrcServerMinorVN, KDbgTrcServerBuildVN);
       
    66 }
       
    67 
       
    68