homescreenapp/serviceproviders/hsmenuserviceprovider/tsrc/t_hsmenuserviceprovider/inc/t_hsmenuentryremovedcallback.h
changeset 90 3ac3aaebaee5
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/homescreenapp/serviceproviders/hsmenuserviceprovider/tsrc/t_hsmenuserviceprovider/inc/t_hsmenuentryremovedcallback.h	Mon Sep 20 10:19:07 2010 +0300
@@ -0,0 +1,35 @@
+/*
+* Copyright (c) 2010 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:  Tests for HomeScreenStateProvider class.
+*
+*/
+
+#ifndef T_HS_MENU_ENTRY_REMOVED_CALLBACK_H
+#define T_HS_MENU_ENTRY_REMOVED_CALLBACK_H
+
+#include <QObject>
+
+class T_HsMenuEntryRemovedCallback: public QObject
+{
+    Q_OBJECT
+public:
+    T_HsMenuEntryRemovedCallback(): mCallsCount(0) {}
+    int callsCount() {return mCallsCount;}
+public slots:
+        void callback() { ++mCallsCount;};
+private:
+    int mCallsCount;
+};
+
+#endif