1 /*---------------------------------------------------------------------------*
2 
3 Copyright (C) Nintendo.  All rights reserved.
4 
5 These coded instructions, statements, and computer programs contain
6 proprietary information of Nintendo of America Inc. and/or Nintendo
7 Company Ltd., and are protected by Federal copyright law.  They may
8 not be disclosed to third parties or copied or duplicated in any form,
9 in whole or in part, without the prior written consent of Nintendo.
10 
11  *---------------------------------------------------------------------------*/
12 
13 #ifndef NN_NGC_CAFE_API_H_
14 #define NN_NGC_CAFE_API_H_
15 
16 /*!
17 @addtogroup  nn_ngc
18   @{
19 
20 @namespace  nn::ngc::Cafe
21 @brief  Namespace for the Profanity Filter (NGC) Library for Cafe.
22 (The namespace <tt>nn::ngc::Cafe</tt> can also be shortened to <tt>nn::ngc</tt>.)
23 
24   @}
25 */
26 
27 namespace nn
28 {
29 namespace ngc
30 {
31 namespace Cafe
32 {
33 
34 /*!
35 @addtogroup  nn_ngc
36   @{
37 
38 @defgroup nn_ngc_api  Profanity Filter (NGC) API
39 @brief  A list of Profanity Filter (NGC) library members. (Includes only C++ API members.)
40   @{
41 */
42 
43 /*!
44 @brief  Returns the number of numeric characters in the string.
45 
46 There are restrictions on the number of numeric characters in user input that can be displayed on the screen at one time, because telephone numbers and some other types of personal information take the form of strings that contain many numeric characters.
47 Use this function to get the total number of numeric characters in strings on the screen at the same time to avoid exceeding the restrictions within the UGC Guidelines.
48 
49 @param[in] pString  Specifies the <tt>NULL</tt>-terminated string to check.
50 @return  Returns the number of numeric characters in the specified string. If the process fails, a negative value is returned.
51 
52 
53 
54 */
55 int CountNumbers( const wchar_t *pString );
56 
57 //! @}
58 //! @}
59 
60 }   // namespace Cafe
61 }   // namespace ngc
62 }   // namespace nn
63 
64 #endif  // NN_NGC_CAFE_API_H_
65