msg_plat/shareui_api/inc/shareui.h
changeset 23 238255e8b033
child 27 e4592d119491
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/msg_plat/shareui_api/inc/shareui.h	Fri Apr 16 14:56:15 2010 +0300
@@ -0,0 +1,76 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:  Offers message creation and sending services.
+ *
+*/
+
+
+
+
+#ifndef SHAREUI_H_
+#define SHAREUI_H_
+
+#ifdef BUILD_SHAREUI_DLL
+#define SHAREUI_EXPORT Q_DECL_EXPORT
+#else
+#define SHAREUI_EXPORT Q_DECL_IMPORT
+#endif
+
+// SYSTEM INCLUDES
+#include <QStringList>
+#include <qglobal.h>
+
+
+// FORWARD DECLARATIONS
+class ShareUiPrivate;
+
+/**
+ * This class offers message creation and sending services.
+ */
+class SHAREUI_EXPORT ShareUi  
+    {
+    
+public:
+    /**
+     * Constructor
+     */
+    ShareUi();
+    
+    /**
+     * Destructor
+     */
+    ~ShareUi();
+    
+
+    bool send(QStringList& fileList, bool embedded);
+    
+    /**
+     * @deprecated
+     */
+    bool init(QList<QVariant>& fileList, bool embedded);
+    
+private:
+    
+    /**
+     * ShareUiPrivate implementation
+     * Owned
+     */
+    ShareUiPrivate* d_ptr;
+    Q_DECLARE_PRIVATE_D(d_ptr,ShareUi)
+    };
+
+
+
+
+#endif /* SENDUI_DIALOG_API_H_ */