javauis/m2g_qt/inc/M2GNamespace.h
changeset 87 1627c337e51e
parent 56 abc41079b313
equal deleted inserted replaced
80:d6dafc5d983f 87:1627c337e51e
     1 /*
     1 /*
     2 * Copyright (c) 2005-2006 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    25 
    25 
    26 #define M2G_NO_NAMESPACE_SWITCH
    26 #define M2G_NO_NAMESPACE_SWITCH
    27 #ifndef M2G_NO_NAMESPACE_SWITCH
    27 #ifndef M2G_NO_NAMESPACE_SWITCH
    28 #define M2G_NS_ /**/ m2g_namespace
    28 #define M2G_NS_ /**/ m2g_namespace
    29 #define M2G_NS_START  /**/ namespace M2G_NS_ {
    29 #define M2G_NS_START  /**/ namespace M2G_NS_ {
    30 #define M2G_NS_END /**/ }
    30 #define M2G_NS_END /**/
       
    31 }
    31 #define M2G_NS(X) /**/ ::M2G_NS_::X
    32 #define M2G_NS(X) /**/ ::M2G_NS_::X
    32 #define USING_WHOLE_M2G_NS /**/ using namespace ::M2G_NS_;
    33 #define USING_WHOLE_M2G_NS /**/ using namespace ::M2G_NS_;
    33 #define USING_M2G_NS(X) /**/ using ::M2G_NS_::X;
    34 #define USING_M2G_NS(X) /**/ using ::M2G_NS_::X;
    34 #else
    35 #else
    35 #define M2G_NS_ /**/
    36 #define M2G_NS_ /**/