javauis/m2g_qt/inc/M2GNamespace.h
changeset 80 d6dafc5d983f
parent 56 abc41079b313
child 87 1627c337e51e
equal deleted inserted replaced
78:71ad690e91f5 80:d6dafc5d983f
       
     1 /*
       
     2 * Copyright (c) 2005-2006 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:  Namespace definitions
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef M2GNAMESPACE_H
       
    19 #define M2GNAMESPACE_H
       
    20 // INCLUDES
       
    21 
       
    22 // CONSTANTS
       
    23 
       
    24 // MACROS
       
    25 
       
    26 #define M2G_NO_NAMESPACE_SWITCH
       
    27 #ifndef M2G_NO_NAMESPACE_SWITCH
       
    28 #define M2G_NS_ /**/ m2g_namespace
       
    29 #define M2G_NS_START  /**/ namespace M2G_NS_ {
       
    30 #define M2G_NS_END /**/ }
       
    31 #define M2G_NS(X) /**/ ::M2G_NS_::X
       
    32 #define USING_WHOLE_M2G_NS /**/ using namespace ::M2G_NS_;
       
    33 #define USING_M2G_NS(X) /**/ using ::M2G_NS_::X;
       
    34 #else
       
    35 #define M2G_NS_ /**/
       
    36 #define M2G_NS_START  /**/
       
    37 #define M2G_NS_END /**/
       
    38 #define M2G_NS(X) /**/
       
    39 #define USING_WHOLE_M2G_NS /**/
       
    40 #define USING_M2G_NS(X) /**/
       
    41 #endif // !M2G_NO_NAMESPACE_SWITCH
       
    42 
       
    43 // DATA TYPES
       
    44 
       
    45 // FUNCTION PROTOTYPES
       
    46 
       
    47 // FORWARD DECLARATIONS
       
    48 
       
    49 // CLASS DECLARATION
       
    50 
       
    51 #endif // M2GNAMESPACE_H