wlanutilities/wlansniffer/aiplugin/inc/wsfaiplugincontentmodel.h
changeset 0 56b72877c1cb
child 18 981afc7d3841
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/wlanutilities/wlansniffer/aiplugin/inc/wsfaiplugincontentmodel.h	Thu Dec 17 09:20:28 2009 +0200
@@ -0,0 +1,98 @@
+/*
+* Copyright (c) 2007-2008 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:  Content enums
+*
+*/
+
+
+#ifndef WSFAIPLUGINCONTENTMODEL_H
+#define WSFAIPLUGINCONTENTMODEL_H
+
+
+#include <aicontentmodel.h>
+
+#include "wsfaipluginuids.hrh"
+
+// Plug-in Implementation UID.
+const TInt KImplUidWlanWizardPlugin = 
+                AI_UID_ECOM_IMPLEMENTATION_CONTENTPUBLISHER_WIZARDPLUGIN;
+const TUid KUidWlanWizardPlugin = { KImplUidWlanWizardPlugin };
+
+
+// ================================= Content ================================
+
+/**
+ * Content Ids
+ */
+enum TWsfAiWizardContentIds
+    {
+     EAiWizardContentFullText
+    ,EAiWizardContentNaviBarIcon
+    ,EAiWizardContentTitleText
+    ,EAiWizardContentStatusIcon
+    ,EAiWizardContentStatusText
+    ,EAiWizardContentTypeIcon       // Transparent icon
+    ,EAiWizardContentTypeText
+    ,EAiWizardContentStrengthIcon
+    ,EAiWizardContentStrengthText    
+    ,EAiWizardContentSecureIcon
+    ,EAiWizardContentSecureText
+    ,EAiWizardContentNetworkStatus
+    ,EAiWizardContentNetworkName
+    };
+
+/**
+ * Content that the plugin will publish
+ */
+const TAiContentItem KAiWizardContent[] =
+    {
+     { EAiWizardContentFullText,      L"FullText",     KAiContentTypeText }
+    ,{ EAiWizardContentNaviBarIcon,   L"NaviBarIcon",  KAiContentTypeBitmap }
+    ,{ EAiWizardContentTitleText,     L"TitleText",    KAiContentTypeText }
+    ,{ EAiWizardContentStatusIcon,    L"StatusIcon",   KAiContentTypeBitmap }
+    ,{ EAiWizardContentStatusText,    L"StatusText",   KAiContentTypeText }
+    ,{ EAiWizardContentTypeIcon,      L"TypeIcon",     KAiContentTypeBitmap }
+    ,{ EAiWizardContentTypeText,      L"TypeText",     KAiContentTypeText }
+    ,{ EAiWizardContentStrengthIcon,  L"StrengthIcon", KAiContentTypeBitmap }
+    ,{ EAiWizardContentStrengthText,  L"StrengthText", KAiContentTypeText }
+    ,{ EAiWizardContentSecureIcon,    L"SecureIcon",   KAiContentTypeBitmap }
+    ,{ EAiWizardContentSecureText,    L"SecureText",   KAiContentTypeText }
+    ,{ EAiWizardContentNetworkStatus, L"NetworkStatus",KAiContentTypeText }
+    ,{ EAiWizardContentNetworkName,   L"NetworkName",  KAiContentTypeText }
+    };
+
+// ============================ Events ==============================
+/**
+ * Event Ids.
+ */
+enum TWsfAiWizardEventIds
+    {
+     EAiWizardEventLaunchApplication,
+     EAiWizardGainFocusInfoArea,
+     EAiWizardLostFocusInfoArea,     
+     EAiWizardOpenMenu
+    };
+
+/**
+ * Services that the plugin can perform
+ */
+const TAiContentItem KAiWizardEvents[] =
+    {
+     { EAiWizardEventLaunchApplication,         L"LaunchApplication", "" }
+    ,{ EAiWizardGainFocusInfoArea,              L"GainFocusInfoArea", "" }
+    ,{ EAiWizardLostFocusInfoArea,              L"LostFocusInfoArea", "" }
+    ,{ EAiWizardOpenMenu,                       L"OpenMenu", "" }
+    };
+
+#endif // WSFAIPLUGINCONTENTMODEL_H