messagingapp/msgui/msgapp/inc/msgsendserviceinterface.h
changeset 23 238255e8b033
equal deleted inserted replaced
5:4697dfb2d7ad 23:238255e8b033
       
     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: Message Application service interface used for interfacing between
       
    15  *              QT highway and other applications
       
    16  *
       
    17  */
       
    18 
       
    19 #ifndef MSGSENDSERVICEINTERFACE_H_
       
    20 #define MSGSENDSERVICEINTERFACE_H_
       
    21 
       
    22 // INCLUDES
       
    23 #include <xqserviceprovider.h>
       
    24 #include <qvariant.h>
       
    25 
       
    26 class MsgViewManager;
       
    27 class MsgSendServiceInterface : public XQServiceProvider
       
    28     {
       
    29     Q_OBJECT
       
    30     
       
    31 public:
       
    32     /*
       
    33      * Constructor
       
    34      */
       
    35     MsgSendServiceInterface(QObject* parent=0, MsgViewManager* manager =0);
       
    36     
       
    37     /*
       
    38      * Destructor
       
    39      */
       
    40     ~MsgSendServiceInterface();
       
    41     
       
    42 public slots:
       
    43    
       
    44     void send(QVariant data);
       
    45     
       
    46 signals:
       
    47  
       
    48 private:
       
    49 MsgViewManager* mViewManager;
       
    50     
       
    51     };
       
    52 
       
    53 
       
    54 #endif /* MSGSENDSERVICEINTERFACE_H_ */