contextframework/cfw/src/cfserver/cfcmd.cpp
changeset 0 2e3d3ce01487
equal deleted inserted replaced
-1:000000000000 0:2e3d3ce01487
       
     1 /*
       
     2 * Copyright (c) 2008 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:  CCFCmd class implementation.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // SYSTEM INCLUDES
       
    20 
       
    21 // USER INCLUDES
       
    22 #include "cfcmd.h"
       
    23 #include "cftrace.h"
       
    24 
       
    25 #include <cfcontextsubscriptionlistener.h>
       
    26 
       
    27 // ======== MEMBER FUNCTIONS ========
       
    28 
       
    29 // ---------------------------------------------------------------------------
       
    30 // C++ constructor.
       
    31 // ---------------------------------------------------------------------------
       
    32 //
       
    33 CCFCmd::CCFCmd()
       
    34     {
       
    35     FUNC_LOG;
       
    36     }
       
    37 
       
    38 // ---------------------------------------------------------------------------
       
    39 // C++ destructor.
       
    40 // ---------------------------------------------------------------------------
       
    41 //
       
    42 CCFCmd::~CCFCmd( )
       
    43     {
       
    44     FUNC_LOG;
       
    45     }
       
    46 
       
    47 
       
    48 // ---------------------------------------------------------------------------
       
    49 // CCFCmd::LogError
       
    50 // ---------------------------------------------------------------------------
       
    51 //
       
    52 void CCFCmd::LogError( TInt aError )
       
    53     {
       
    54     FUNC_LOG;
       
    55 
       
    56     if( aError != KErrNone )
       
    57         {
       
    58         ERROR( aError, "CCFCmd::LogError - Command execution failed." );
       
    59         }
       
    60     }
       
    61 
       
    62 // ---------------------------------------------------------------------------
       
    63 // CCFCmd::SglQueLinkOffset
       
    64 // ---------------------------------------------------------------------------
       
    65 //
       
    66 TInt CCFCmd::SglQueLinkOffset()
       
    67     {
       
    68     FUNC_LOG;
       
    69 
       
    70     return _FOFF( CCFCmd, iSlink );
       
    71     }
       
    72 
       
    73 // End of file