cbsatplugin/atmisccmdplugin/src/atmisccmdpluginbase.cpp
changeset 17 f05641c183ff
equal deleted inserted replaced
15:00f9ee97d895 17:f05641c183ff
       
     1 /*
       
     2 * Copyright (c) 2010 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:  Main handler for incoming requests
       
    15 *
       
    16 */
       
    17 
       
    18 #include "atmisccmdplugin.h"
       
    19 
       
    20 #include "debug.h"
       
    21 
       
    22 
       
    23 CATCmdAsyncBase::CATCmdAsyncBase(MATMiscCmdPlugin* aCallback, TAtCommandParser& aATCmdParser, RMobilePhone& aPhone) :
       
    24     CActive(CActive::EPriorityStandard),
       
    25     iATCmdParser(aATCmdParser),
       
    26     iPhone(aPhone)
       
    27     {
       
    28     TRACE_FUNC_ENTRY
       
    29     iCallback = aCallback;
       
    30     CActiveScheduler::Add(this);
       
    31     TRACE_FUNC_EXIT
       
    32     }
       
    33