emailuis/nmailui/src/nmsendserviceinterface.cpp
changeset 20 ecc8def7944a
parent 18 578830873419
child 23 2dc6caa42ec3
equal deleted inserted replaced
18:578830873419 20:ecc8def7944a
     1 /*
     1 /*
     2  * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3  * All rights reserved.
     3 * All rights reserved.
     4  * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5  * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6  * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8  *
     8 *
     9  * Initial Contributors:
     9 * Initial Contributors:
    10  * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11  *
    11 *
    12  * Contributors:
    12 * Contributors:
    13  *
    13 *
    14  * Description: NMail Application Launcher interface used for interfacing between
    14 * Description: NMail Application Launcher interface used for interfacing between
    15  *              QT highway and other applications
    15 *              QT highway and other applications
    16  *
    16 *
    17  */
    17 */
    18 
    18 
    19 //  INCLUDES
    19 //  INCLUDES
    20 #include "nmuiheaders.h"
    20 #include "nmuiheaders.h"
    21 
    21 
    22 //  CONSTANTS
    22 //  CONSTANTS
   255 */
   255 */
   256 
   256 
   257 /*!
   257 /*!
   258     Class constructor.
   258     Class constructor.
   259 */
   259 */
   260 NmSendServiceInterface::NmSendServiceInterface(QObject *parent,
   260 NmSendServiceInterface::NmSendServiceInterface(QString interfaceName, 
       
   261                                                QObject *parent,
   261                                                NmUiEngine &uiEngine,
   262                                                NmUiEngine &uiEngine,
   262                                                NmApplication *application)
   263                                                NmApplication *application)
   263 #ifndef NM_WINS_ENV
   264 #ifndef NM_WINS_ENV
   264     : XQServiceProvider(QLatin1String("com.nokia.symbian.IMessage.Send"), parent),
   265     : XQServiceProvider(interfaceName, parent),
   265 #else
   266 #else
   266     : QObject(parent),
   267     : QObject(parent),
   267 #endif
   268 #endif
   268       mApplication(application),
   269       mApplication(application),
   269       mUiEngine(uiEngine),
   270       mUiEngine(uiEngine),