homescreensrv_plat/contentstorage_api/inc/caclient_global.h
changeset 125 26079c1bb561
parent 112 dbfb5e38438b
equal deleted inserted replaced
123:d1dadafc5584 125:26079c1bb561
       
     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 CACLIENT_GLOBAL_H
       
    19 #define CACLIENT_GLOBAL_H
       
    20 
       
    21 
       
    22 #ifdef CACLIENT_LIB
       
    23 #define CACLIENT_EXPORT Q_DECL_EXPORT
       
    24 #else
       
    25 #ifdef CACLIENT_TEST
       
    26 #define CACLIENT_EXPORT
       
    27 #else
       
    28 #define CACLIENT_EXPORT Q_DECL_IMPORT
       
    29 #endif
       
    30 #endif
       
    31 
       
    32 #ifndef CONTENTARSENAL_UNITTEST
       
    33 #define CA_CLIENT_TEST_CLASS(aClassName)
       
    34 #else
       
    35 #define CA_CLIENT_TEST_CLASS(aClassName) class aClassName;
       
    36 #endif
       
    37 
       
    38 #ifndef CONTENTARSENAL_UNITTEST
       
    39 #define CA_CLIENT_TEST_FRIEND_CLASS(aClassName)
       
    40 #else
       
    41 #define CA_CLIENT_TEST_FRIEND_CLASS(aClassName) friend class aClassName;
       
    42 #endif
       
    43 
       
    44 #endif // CACLIENT_GLOBAL_H