diff -r 023eef975703 -r abc41079b313 javauis/m2g_qt/inc/M2GNamespace.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/javauis/m2g_qt/inc/M2GNamespace.h Fri Jul 23 12:27:20 2010 +0300 @@ -0,0 +1,51 @@ +/* +* Copyright (c) 2005-2006 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: Namespace definitions +* +*/ + +#ifndef M2GNAMESPACE_H +#define M2GNAMESPACE_H +// INCLUDES + +// CONSTANTS + +// MACROS + +#define M2G_NO_NAMESPACE_SWITCH +#ifndef M2G_NO_NAMESPACE_SWITCH +#define M2G_NS_ /**/ m2g_namespace +#define M2G_NS_START /**/ namespace M2G_NS_ { +#define M2G_NS_END /**/ } +#define M2G_NS(X) /**/ ::M2G_NS_::X +#define USING_WHOLE_M2G_NS /**/ using namespace ::M2G_NS_; +#define USING_M2G_NS(X) /**/ using ::M2G_NS_::X; +#else +#define M2G_NS_ /**/ +#define M2G_NS_START /**/ +#define M2G_NS_END /**/ +#define M2G_NS(X) /**/ +#define USING_WHOLE_M2G_NS /**/ +#define USING_M2G_NS(X) /**/ +#endif // !M2G_NO_NAMESPACE_SWITCH + +// DATA TYPES + +// FUNCTION PROTOTYPES + +// FORWARD DECLARATIONS + +// CLASS DECLARATION + +#endif // M2GNAMESPACE_H