homescreensrv_plat/activity_framework_api/afactivities_global.h
changeset 107 b34d53f6acdf
child 125 26079c1bb561
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/homescreensrv_plat/activity_framework_api/afactivities_global.h	Fri Aug 06 13:40:46 2010 +0300
@@ -0,0 +1,46 @@
+/*
+ * 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:
+ *
+ */
+
+#ifndef AFACTIVITIES_GLOBAL_H
+#define AFACTIVITIES_GLOBAL_H
+
+#include <qglobal.h>
+
+#ifdef AFACTIVITIES_LIB
+    #define AFACTIVITIES_EXPORT Q_DECL_EXPORT
+#else
+    #ifdef AFACTIVITIES_TEST
+        #define AFACTIVITIES_EXPORT
+    #else
+        #define AFACTIVITIES_EXPORT Q_DECL_IMPORT
+    #endif
+#endif
+
+namespace Af {
+    enum ActivationReason {
+        ActivationReasonActivity = 0,
+        ActivationReasonService,
+        ActivationReasonNormal
+    };    
+    
+    const char KActivityScheme[] = "appto";
+
+    const char KActivityUriNameKey[] = "activityname";
+    const char KActivityUriBackgroundKey[] = "activityinbackground";
+}
+
+#endif // AFACTIVITIES_GLOBAL_H