homescreenapp/hsmenuclientplugin/inc/hsmenuclient_p.h
changeset 39 4e8ebe173323
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/homescreenapp/hsmenuclientplugin/inc/hsmenuclient_p.h	Mon May 03 12:24:59 2010 +0300
@@ -0,0 +1,44 @@
+/*
+ * 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: hsmenuclient_p.h
+ *
+ */
+
+#ifndef HSMENUCLIENT_PRIVATE_H
+#define HSMENUCLIENT_PRIVATE_H
+
+// hidden
+const QString hsItemId("id");
+
+class HsMenuClient;
+
+class HsMenuClientPrivate
+{
+
+public:
+
+    explicit HsMenuClientPrivate(HsMenuClient *publishPublic);
+    ~HsMenuClientPrivate();
+    bool add(const QVariantMap &entryPreference = QVariantMap());
+    bool remove(const QVariantMap &queryPreference = QVariantMap()) const;    
+    QList<QVariantMap > getList(const QVariantMap &queryPreference = QVariantMap());
+    
+private:
+    /**
+     * Points to the HsMenuClient instance that uses this private implementation.
+     */
+    HsMenuClient *const m_q;    
+};
+
+#endif //HSMENUCLIENT_PRIVATE_H