msg_plat/shareui_api/inc/shareui.h
changeset 31 ebfee66fde93
child 47 5b14749788d7
equal deleted inserted replaced
30:6a20128ce557 31:ebfee66fde93
       
     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  * this class inturn launches HbDialog with list of services asynchronously
       
    41  * object should be alive till dialog handled completely.so client should create this class instance as a member variable
       
    42  */
       
    43 class SHAREUI_EXPORT ShareUi  
       
    44     {
       
    45     
       
    46 public:
       
    47     /**
       
    48      * Constructor
       
    49      */
       
    50     ShareUi();
       
    51     
       
    52     /**
       
    53      * Destructor
       
    54      */
       
    55     ~ShareUi();
       
    56     
       
    57 
       
    58     bool send(QStringList& fileList, bool embedded);
       
    59     
       
    60     /**
       
    61      * @deprecated
       
    62      */
       
    63     bool init(QList<QVariant>& fileList, bool embedded);
       
    64     
       
    65 private:
       
    66     
       
    67     /**
       
    68      * ShareUiPrivate implementation
       
    69      * Owned
       
    70      */
       
    71     ShareUiPrivate* d_ptr;
       
    72     Q_DECLARE_PRIVATE_D(d_ptr,ShareUi)
       
    73     };
       
    74 
       
    75 
       
    76 
       
    77 
       
    78 #endif /* SENDUI_DIALOG_API_H_ */