homescreensrv_plat/activity_framework_api/afactivities_global.h
changeset 107 b34d53f6acdf
child 125 26079c1bb561
equal deleted inserted replaced
106:e78d6e055a5b 107:b34d53f6acdf
       
     1 /*
       
     2  * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3  * All rights reserved.
       
     4  * This component and the accompanying materials are made available
       
     5  * under the terms of "Eclipse Public License v1.0"
       
     6  * which accompanies this distribution, and is available
       
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8  *
       
     9  * Initial Contributors:
       
    10  * Nokia Corporation - initial contribution.
       
    11  *
       
    12  * Contributors:
       
    13  *
       
    14  * Description:
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef AFACTIVITIES_GLOBAL_H
       
    19 #define AFACTIVITIES_GLOBAL_H
       
    20 
       
    21 #include <qglobal.h>
       
    22 
       
    23 #ifdef AFACTIVITIES_LIB
       
    24     #define AFACTIVITIES_EXPORT Q_DECL_EXPORT
       
    25 #else
       
    26     #ifdef AFACTIVITIES_TEST
       
    27         #define AFACTIVITIES_EXPORT
       
    28     #else
       
    29         #define AFACTIVITIES_EXPORT Q_DECL_IMPORT
       
    30     #endif
       
    31 #endif
       
    32 
       
    33 namespace Af {
       
    34     enum ActivationReason {
       
    35         ActivationReasonActivity = 0,
       
    36         ActivationReasonService,
       
    37         ActivationReasonNormal
       
    38     };    
       
    39     
       
    40     const char KActivityScheme[] = "appto";
       
    41 
       
    42     const char KActivityUriNameKey[] = "activityname";
       
    43     const char KActivityUriBackgroundKey[] = "activityinbackground";
       
    44 }
       
    45 
       
    46 #endif // AFACTIVITIES_GLOBAL_H