56
|
1 |
/*
|
87
|
2 |
* Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
|
56
|
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_ {
|
87
|
30 |
#define M2G_NS_END /**/
|
|
31 |
}
|
56
|
32 |
#define M2G_NS(X) /**/ ::M2G_NS_::X
|
|
33 |
#define USING_WHOLE_M2G_NS /**/ using namespace ::M2G_NS_;
|
|
34 |
#define USING_M2G_NS(X) /**/ using ::M2G_NS_::X;
|
|
35 |
#else
|
|
36 |
#define M2G_NS_ /**/
|
|
37 |
#define M2G_NS_START /**/
|
|
38 |
#define M2G_NS_END /**/
|
|
39 |
#define M2G_NS(X) /**/
|
|
40 |
#define USING_WHOLE_M2G_NS /**/
|
|
41 |
#define USING_M2G_NS(X) /**/
|
|
42 |
#endif // !M2G_NO_NAMESPACE_SWITCH
|
|
43 |
|
|
44 |
// DATA TYPES
|
|
45 |
|
|
46 |
// FUNCTION PROTOTYPES
|
|
47 |
|
|
48 |
// FORWARD DECLARATIONS
|
|
49 |
|
|
50 |
// CLASS DECLARATION
|
|
51 |
|
|
52 |
#endif // M2GNAMESPACE_H
|