1 /*---------------------------------------------------------------------------* 2 Project: Horizon 3 File: hid_TouchPanel.h 4 5 Copyright (C)2009 Nintendo Co., Ltd. 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 $Rev: 12449 $ 14 *---------------------------------------------------------------------------*/ 15 16 /*! @file 17 @brief TouchPanel クラス を定義します。 18 19 */ 20 #ifndef NN_HID_CTR_HID_TOUCHPANEL_H_ 21 #define NN_HID_CTR_HID_TOUCHPANEL_H_ 22 23 #include <nn/Handle.h> 24 #include <nn/Result.h> 25 #include <nn/types.h> 26 #include <nn/hid/CTR/hid_HidBase.h> 27 28 namespace nn { 29 namespace hid { 30 namespace CTR { 31 32 33 /*! 34 @brief タッチパネル のサンプリングデータを取得するのに要なリソースを持つクラスです。有効なインスタンスを得るには @ref nn::hid::CTR::GetTouchPanel( ) で参照を得てください。 35 36 WaitSampling( ) または WaitSamplingAny( ) でサンプリングのたびにシグナルされるイベントを待つことができます。また、実際にデバイスのサンプリングデータを得るには TouchPanelReader クラスを使用してください。 37 38 */ 39 class TouchPanel : public HidBase 40 { 41 private: TouchPanel()42 TouchPanel() {} ~TouchPanel()43 ~TouchPanel() {} 44 45 friend class TouchPanelReader; 46 friend class HidDevices; 47 }; 48 49 } // namespace CTR { 50 } // namespace hid { 51 } // namespace nn { 52 53 #endif // #ifndef NN_HID_CTR_HID_TOUCHPANEL_H_ 54