1 /*---------------------------------------------------------------------------*
2   Project:  NintendoWare
3   File:     lyt_Init.h
4 
5   Copyright (C)2009-2011 Nintendo/HAL Laboratory, Inc.  All rights reserved.
6 
7   These coded instructions, statements, and computer programs contain proprietary
8   information of Nintendo and/or its licensed developers and are protected by
9   national and international copyright laws. They may not be disclosed to third
10   parties or copied or duplicated in any form, in whole or in part, without the
11   prior written consent of Nintendo.
12 
13   The content herein is highly confidential and should be handled accordingly.
14 
15   $Revision: 31311 $
16  *---------------------------------------------------------------------------*/
17 
18 #ifndef NW_LYT_INIT_H_
19 #define NW_LYT_INIT_H_
20 
21 namespace nw
22 {
23 namespace os
24 {
25 
26 class IAllocator;
27 
28 }
29 
30 namespace lyt
31 {
32 
33 //! @name 初期化
34 //@{
35 
36 //---------------------------------------------------------------------------
37 //! @brief レイアウトライブラリの初期化を行います。
38 //!
39 //! @details
40 //! レイアウトライブラリを使用する前に必ず呼び出してください。
41 //!
42 //! @param pAllocator メモリアロケータです。
43 //! @param pDeviceMemoryAllocator デバイスメモリのアロケータです。
44 //!
45 //! @sa Layout::SetAllocator
46 //! @sa Layout::SetDeviceMemoryAllocator
47 //!
48 //! @date 2010/02/19 関数名を LytInit から変更し、引数にアロケータを追加しました。
49 //! @since 2009/09/18 初版。
50 //---------------------------------------------------------------------------
51 void Initialize(
52     nw::os::IAllocator* pAllocator,
53     nw::os::IAllocator* pDeviceMemoryAllocator);
54 
55 //@}
56 
57 } // namespace nw::lyt
58 } // namespace nw
59 
60 #endif // NW_LYT_INIT_H_
61