dbgagents/trkagent/toolsstarter/toolsstarterclient/src/toolsclientdefs.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 "toolsclientdefs.h"
       
    19 #include "ToolsCmdCodes.h"
       
    20 
       
    21 // System includes
       
    22 
       
    23 // User includes
       
    24 
       
    25 // Type definitions
       
    26 
       
    27 // Constants
       
    28 
       
    29 // Enumerations
       
    30 
       
    31 
       
    32 //
       
    33 // ToolsClientDefs (source)
       
    34 //
       
    35 
       
    36 //
       
    37 // ToolsClientDefs::ServerAndThreadName()
       
    38 //
       
    39 // Returns the Tools server's unique name.
       
    40 // @return Unique name of the Tools server.
       
    41 //
       
    42 const TDesC& ToolsClientDefs::ServerAndThreadName()
       
    43 {
       
    44 	return KToolsServerName;
       
    45 }
       
    46 
       
    47 //
       
    48 // ToolsClientDefs::ServerImageName()
       
    49 //
       
    50 // Return the name of the server image (Exe/Dll)
       
    51 //
       
    52 const TDesC& ToolsClientDefs::ServerImageName()
       
    53 {
       
    54 	return KToolsServerImageName;
       
    55 }
       
    56 
       
    57 //
       
    58 // ToolsClientDefs::ServerUidType()
       
    59 //
       
    60 // Return the Uid associated with the server image
       
    61 //
       
    62 TUidType ToolsClientDefs::ServerUidType()
       
    63 {
       
    64 	return TUidType(KNullUid, KNullUid, KToolsServerUid);
       
    65 }
       
    66 
       
    67 
       
    68 //
       
    69 // ToolsClientDefs::Version()
       
    70 //
       
    71 // Return the version number of the server/client
       
    72 //
       
    73 TVersion ToolsClientDefs::Version()
       
    74 {
       
    75 	return TVersion(KToolsServerMajorVN, KToolsServerMinorVN, KToolsServerBuildVN);
       
    76 }
       
    77 
       
    78