msg_plat/shareui_api/inc/shareui.h
changeset 23 238255e8b033
child 27 e4592d119491
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:  Offers message creation and sending services.
       
    15  *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef SHAREUI_H_
       
    22 #define SHAREUI_H_
       
    23 
       
    24 #ifdef BUILD_SHAREUI_DLL
       
    25 #define SHAREUI_EXPORT Q_DECL_EXPORT
       
    26 #else
       
    27 #define SHAREUI_EXPORT Q_DECL_IMPORT
       
    28 #endif
       
    29 
       
    30 // SYSTEM INCLUDES
       
    31 #include <QStringList>
       
    32 #include <qglobal.h>
       
    33 
       
    34 
       
    35 // FORWARD DECLARATIONS
       
    36 class ShareUiPrivate;
       
    37 
       
    38 /**
       
    39  * This class offers message creation and sending services.
       
    40  */
       
    41 class SHAREUI_EXPORT ShareUi  
       
    42     {
       
    43     
       
    44 public:
       
    45     /**
       
    46      * Constructor
       
    47      */
       
    48     ShareUi();
       
    49     
       
    50     /**
       
    51      * Destructor
       
    52      */
       
    53     ~ShareUi();
       
    54     
       
    55 
       
    56     bool send(QStringList& fileList, bool embedded);
       
    57     
       
    58     /**
       
    59      * @deprecated
       
    60      */
       
    61     bool init(QList<QVariant>& fileList, bool embedded);
       
    62     
       
    63 private:
       
    64     
       
    65     /**
       
    66      * ShareUiPrivate implementation
       
    67      * Owned
       
    68      */
       
    69     ShareUiPrivate* d_ptr;
       
    70     Q_DECLARE_PRIVATE_D(d_ptr,ShareUi)
       
    71     };
       
    72 
       
    73 
       
    74 
       
    75 
       
    76 #endif /* SENDUI_DIALOG_API_H_ */