phoneengine/phoneservices/inc/phoneservices.h
branchRCL_3
changeset 61 41a7f70b3818
equal deleted inserted replaced
58:40a3f856b14d 61:41a7f70b3818
       
     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:  Phone Services manages all Phone Engine's Qt Highway services.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef PHONESERVICES_H
       
    19 #define PHONESERVICES_H
       
    20 
       
    21 #include <QObject>
       
    22 #include "mpecallcontrolif.h"
       
    23 #include "mpecallsettersif.h"
       
    24 
       
    25 class DialService;
       
    26 class DTMFService;
       
    27 class UriSchemeHandlerService;
       
    28 
       
    29 // Depricated APIs
       
    30 class DialServiceDepricated;
       
    31 class DTMFServiceDepricated;
       
    32 
       
    33 #ifdef BUILD_PHONESERVICES
       
    34 #define PHONESERVICES_EXPORT Q_DECL_EXPORT
       
    35 #else
       
    36 #define PHONESERVICES_EXPORT Q_DECL_IMPORT
       
    37 #endif
       
    38 
       
    39 class PHONESERVICES_EXPORT PhoneServices : public QObject
       
    40 {
       
    41     Q_OBJECT
       
    42 public:
       
    43     PhoneServices(
       
    44         MPECallControlIF &call, 
       
    45         MPECallSettersIF &parameters,
       
    46         QObject *parent = 0);
       
    47     ~PhoneServices();    
       
    48     
       
    49 private:
       
    50     QScopedPointer<DialService> dialService;
       
    51     QScopedPointer<DTMFService> dtmfService;
       
    52     QScopedPointer<UriSchemeHandlerService> uriSchemeHandlerService;
       
    53     
       
    54     // Depricated
       
    55     QScopedPointer<DialServiceDepricated> dialServiceDepricated;
       
    56     QScopedPointer<DTMFServiceDepricated> dtmfServiceDepricated;
       
    57 };
       
    58 
       
    59 #endif // PHONESERVICES_H