messagingapp/msgservices/msgserviceapp/src/msgshareuiinterface.cpp
changeset 27 e4592d119491
equal deleted inserted replaced
25:84d9eb65b26f 27:e4592d119491
       
     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 share UI service interface used for interfacing between
       
    15  *              QT highway and other applications.
       
    16  *
       
    17  */
       
    18 
       
    19 #include "msgshareuiinterface.h"
       
    20 #include "msgserviceviewmanager.h"
       
    21 
       
    22 //----------------------------------------------------------------------------
       
    23 // MsgViewService::MsgViewService
       
    24 // @see header
       
    25 //----------------------------------------------------------------------------
       
    26 MsgShareUiInterface::MsgShareUiInterface(MsgServiceViewManager* viewManager)
       
    27 :XQServiceProvider( QLatin1String("messaging.com.nokia.symbian.IFileShare"),
       
    28         viewManager),
       
    29 mViewManager(viewManager)
       
    30     {
       
    31     publishAll();    
       
    32     }
       
    33 
       
    34 //----------------------------------------------------------------------------
       
    35 // MsgShareUiInterface::~MsgShareUiInterface
       
    36 // @see header
       
    37 //----------------------------------------------------------------------------
       
    38 MsgShareUiInterface::~MsgShareUiInterface()
       
    39     {
       
    40     }
       
    41 
       
    42 //----------------------------------------------------------------------------
       
    43 // MsgShareUiInterface::send
       
    44 // @see header
       
    45 //----------------------------------------------------------------------------
       
    46 void MsgShareUiInterface::send(QVariant data)
       
    47     {   
       
    48     mViewManager->send(data);    
       
    49     }