phoneengine/phoneservices/inc/phoneservices.h
changeset 30 ebdbd102c78a
parent 21 92ab7f8d0eab
child 51 f39ed5e045e0
equal deleted inserted replaced
27:2f8f8080a020 30:ebdbd102c78a
    22 #include "mpecallcontrolif.h"
    22 #include "mpecallcontrolif.h"
    23 #include "mpecallsettersif.h"
    23 #include "mpecallsettersif.h"
    24 
    24 
    25 class DialService;
    25 class DialService;
    26 class DTMFService;
    26 class DTMFService;
       
    27 class MPEKeySequenceRecognitionIF;
       
    28 class KeySequenceRecognitionService;
       
    29 
       
    30 // Depricated APIs
       
    31 class DialServiceDepricated;
       
    32 class DTMFServiceDepricated;
       
    33 class KeySequenceRecognitionServiceDepricated;
    27 
    34 
    28 #ifdef BUILD_PHONESERVICES
    35 #ifdef BUILD_PHONESERVICES
    29 #define PHONESERVICES_EXPORT Q_DECL_EXPORT
    36 #define PHONESERVICES_EXPORT Q_DECL_EXPORT
    30 #else
    37 #else
    31 #define PHONESERVICES_EXPORT Q_DECL_IMPORT
    38 #define PHONESERVICES_EXPORT Q_DECL_IMPORT
    33 
    40 
    34 class PHONESERVICES_EXPORT PhoneServices : public QObject
    41 class PHONESERVICES_EXPORT PhoneServices : public QObject
    35 {
    42 {
    36     Q_OBJECT
    43     Q_OBJECT
    37 public:
    44 public:
    38     PhoneServices(MPECallControlIF &call, MPECallSettersIF &parameters, QObject *parent = 0);
    45     PhoneServices(
       
    46         MPECallControlIF &call, 
       
    47         MPECallSettersIF &parameters,
       
    48         MPEKeySequenceRecognitionIF &keySequenceRecognition,
       
    49         QObject *parent = 0);
    39     ~PhoneServices();    
    50     ~PhoneServices();    
    40     
    51     
    41 private:
    52 private:
    42     DialService *dialService;
    53     QScopedPointer<DialService> dialService;
    43     DTMFService *dtmfService;
    54     QScopedPointer<DTMFService> dtmfService;
       
    55     QScopedPointer<KeySequenceRecognitionService> m_keySequenceRecognitionService;
    44 
    56 
       
    57     // Depricated
       
    58     QScopedPointer<DialServiceDepricated> dialServiceDepricated;
       
    59     QScopedPointer<DTMFServiceDepricated> dtmfServiceDepricated;
       
    60     QScopedPointer<KeySequenceRecognitionServiceDepricated> m_keySequenceRecognitionServiceDepricated;
    45 };
    61 };
    46 
    62 
    47 #endif // PHONESERVICES_H
    63 #endif // PHONESERVICES_H