CTR Pia  4.11.3
Game Communication Engine
local_definitions.h
1 /*---------------------------------------------------------------------------*
2  Project: Pia
3  File: local_definitions.h
4 
5  Copyright Nintendo. All rights reserved.
6 
7  These coded instructions, statements, and computer programs contain
8  proprietary information of Nintendo of America Inc. and/or Nintendo
9  Company Ltd., and are protected by Federal copyright law. They may
10  not be disclosed to third parties or copied or duplicated in any form,
11  in whole or in part, without the prior written consent of Nintendo.
12  *---------------------------------------------------------------------------*/
13 
14 
15 #pragma once
16 
17 
18 // Macro related to optimization for use by Pia library developers.
19 #define NN_PIA_OPTIMIZE_TRANSMIT_RAW_PACKET 0 //n1769
20 
21 // For Pia library developers.
22 enum LocalFunctionBit
23 {
24  LOCAL_FUNCTION_BIT_AROUND_NETWORK = (0x01 << 0),
25  LOCAL_FUNCTION_BIT_HOST_MIGRATION = (0x01 << 1)
26 };
27 
28 /*!
29 @brief A convenience macro to shorten the namespace declaration.
30 */
31 //#define NN_PIA_LOCAL_NAMESPACE_BEGIN namespace nn { namespace pia { namespace local {
32 //#define NN_PIA_LOCAL_NAMESPACE_END }}}
33 //#define NN_PIA_LOCAL_USING_NAMESPACE using namespace nn::pia::local