1 /*---------------------------------------------------------------------------*
2   Project:  NintendoWare
3   File:     lyt_Init.h
4 
5   Copyright (C)2009-2010 Nintendo Co., Ltd./HAL Laboratory, Inc.  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   $Revision: 23662 $
14  *---------------------------------------------------------------------------*/
15 
16 #ifndef NW_LYT_INIT_H_
17 #define NW_LYT_INIT_H_
18 
19 namespace nw
20 {
21 namespace os
22 {
23 
24 class IAllocator;
25 
26 }
27 
28 namespace lyt
29 {
30 
31 //! @name 初期化
32 //@{
33 
34 //---------------------------------------------------------------------------
35 //! @brief レイアウトライブラリの初期化を行います。
36 //!
37 //! @details
38 //! レイアウトライブラリを使用する前に必ず呼び出してください。
39 //!
40 //! @param pAllocator メモリアロケータです。
41 //! @param pDeviceMemoryAllocator デバイスメモリのアロケータです。
42 //!
43 //! @sa Layout::SetAllocator
44 //! @sa Layout::SetDeviceMemoryAllocator
45 //!
46 //! @date 2010/02/19 関数名を LytInit から変更し、引数にアロケータを追加しました。
47 //! @since 2009/09/18 初版。
48 //---------------------------------------------------------------------------
49 void Initialize(
50     nw::os::IAllocator* pAllocator,
51     nw::os::IAllocator* pDeviceMemoryAllocator);
52 
53 //@}
54 
55 } // namespace nw::lyt
56 } // namespace nw
57 
58 #endif // NW_LYT_INIT_H_
59