cbsref/telephonyrefplugins/atltsy/atcommand/generic/src/requestbase.cpp
changeset 49 f50f4094acd7
equal deleted inserted replaced
48:14460bf2a402 49:f50f4094acd7
       
     1 // Copyright (c) 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 // This contains CRequestBase which act as an interface with dispater to handle a single passed IPC request
       
    15 
       
    16 #include "requestbase.h"
       
    17 #include "mslogger.h"
       
    18 #include "globalphonemanager.h"
       
    19 
       
    20 // ---------------------------------------------------------------------------
       
    21 // CRequestBase::~CRequestBase
       
    22 // other items were commented in a header
       
    23 // ---------------------------------------------------------------------------
       
    24 CRequestBase::~CRequestBase()
       
    25 	{
       
    26 	LOGTEXT(_L8("[Ltsy] Starting CRequestBase::~CRequestBase()"));
       
    27 	iIpcCompleteObserver = NULL;
       
    28 	}
       
    29 
       
    30 // ---------------------------------------------------------------------------
       
    31 // CRequestBase::CRequestBase
       
    32 // other items were commented in a header
       
    33 // ---------------------------------------------------------------------------
       
    34 CRequestBase::CRequestBase(CGlobalPhonemanager& aPhoneGlobals)
       
    35 							:iPhoneGlobals(aPhoneGlobals)
       
    36 	{
       
    37 	LOGTEXT(_L8("[Ltsy] Starting CRequestBase::CRequestBase()"));
       
    38 	}
       
    39 
       
    40 // ---------------------------------------------------------------------------
       
    41 // CRequestBase::StartRequest
       
    42 // other items were commented in a header
       
    43 // ---------------------------------------------------------------------------
       
    44 void CRequestBase::StartRequest()
       
    45 	{
       
    46 	}
       
    47 
       
    48 // ---------------------------------------------------------------------------
       
    49 // CRequestBase::SetIpcRequestCompleteObserver
       
    50 // other items were commented in a header
       
    51 // ---------------------------------------------------------------------------
       
    52 void CRequestBase::SetIpcRequestCompleteObserver(MIpcRequestCompleteObserver* aIpcCompleteObserver)
       
    53     {
       
    54     iIpcCompleteObserver = aIpcCompleteObserver;
       
    55     }
       
    56 
       
    57 // ---------------------------------------------------------------------------
       
    58 // CRequestBase::SetIpcId
       
    59 // other items were commented in a header
       
    60 // ---------------------------------------------------------------------------
       
    61 void CRequestBase::SetIpcId(TInt aIpcId)
       
    62     {
       
    63     iIpcId = aIpcId;
       
    64     }
       
    65 
       
    66 // ---------------------------------------------------------------------------
       
    67 // CRequestBase::SetIpcId
       
    68 // other items were commented in a header
       
    69 // ---------------------------------------------------------------------------
       
    70 TInt CRequestBase::IpcId()
       
    71     {
       
    72     return iIpcId;
       
    73     }
       
    74 // End of file