diff -r 2eacb6118286 -r ba76fc04e6c2 phoneengine/phoneservices/inc/phoneservices.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/phoneengine/phoneservices/inc/phoneservices.h Fri Jun 04 10:19:18 2010 +0100 @@ -0,0 +1,63 @@ +/*! +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: Phone Services manages all Phone Engine's Qt Highway services. +* +*/ + +#ifndef PHONESERVICES_H +#define PHONESERVICES_H + +#include +#include "mpecallcontrolif.h" +#include "mpecallsettersif.h" + +class DialService; +class DTMFService; +class MPEKeySequenceRecognitionIF; +class KeySequenceRecognitionService; + +// Depricated APIs +class DialServiceDepricated; +class DTMFServiceDepricated; +class KeySequenceRecognitionServiceDepricated; + +#ifdef BUILD_PHONESERVICES +#define PHONESERVICES_EXPORT Q_DECL_EXPORT +#else +#define PHONESERVICES_EXPORT Q_DECL_IMPORT +#endif + +class PHONESERVICES_EXPORT PhoneServices : public QObject +{ + Q_OBJECT +public: + PhoneServices( + MPECallControlIF &call, + MPECallSettersIF ¶meters, + MPEKeySequenceRecognitionIF &keySequenceRecognition, + QObject *parent = 0); + ~PhoneServices(); + +private: + QScopedPointer dialService; + QScopedPointer dtmfService; + QScopedPointer m_keySequenceRecognitionService; + + // Depricated + QScopedPointer dialServiceDepricated; + QScopedPointer dtmfServiceDepricated; + QScopedPointer m_keySequenceRecognitionServiceDepricated; +}; + +#endif // PHONESERVICES_H