
#include <twl/tcl.h>
typedef enum
{
TCL_SEARCH_CONDITION_NONE = 0 ,
TCL_SEARCH_CONDITION_PICTURE = 1 << 0x00 ,
TCL_SEARCH_CONDITION_FRAME = 1 << 0x01 ,
TCL_SEARCH_CONDITION_FAVORITE_NONE = 1 << 0x07 ,
TCL_SEARCH_CONDITION_FAVORITE_1 = 1 << 0x08 ,
TCL_SEARCH_CONDITION_FAVORITE_2 = 1 << 0x09 ,
TCL_SEARCH_CONDITION_FAVORITE_3 = 1 << 0x0a ,
TCL_SEARCH_CONDITION_FAVORITE_ALL = 1 << 0x0b ,
TCL_SEARCH_CONDITION_LAUNCHER = 1 << 0x0c ,
TCL_SEARCH_CONDITION_APPLICATION = 1 << 0x0d ,
TCL_SEARCH_CONDITION_FREE = 1 << 0x10 ,
TCL_SEARCH_CONDITION_MAX
} TCLSearchCondition;
The TCL_InitSearchObject function specifies conditions for search-related functions.
The conditions are explained in the following list.
| TCL_SEARCH_CONDITION_PICTURE | Search only for photos. |
| TCL_SEARCH_CONDITION_FRAME | Search only for frames. |
| TCL_SEARCH_CONDITION_FAVORITE_NONE | Search for non-favorite photos and frames. |
| TCL_SEARCH_CONDITION_FAVORITE_1 | Search for first favorite photos. |
| TCL_SEARCH_CONDITION_FAVORITE_2 | Search for second favorite photos. |
| TCL_SEARCH_CONDITION_FAVORITE_3 | Search for third favorite photos. |
| TCL_SEARCH_CONDITION_FAVORITE_ALL | Search for all favorite photos. |
| TCL_SEARCH_CONDITION_LAUNCHER | Search for photo signed with the launcher key. Photos signed by the launcher key specify photos captured by the Nintendo DSi Menu or the Nintendo DSi camera. |
| TCL_SEARCH_CONDITION_APPLICATION | Search for photos signed with the general key. Photos signed with the general key specify photos captured by other applications. |
| TCL_SEARCH_CONDITION_FREE | Search for empty portions of management information. (Not normally used in an application.) |
2009/03/04 Added explanation of the launcher and general keys.
2008/10/24 Added TCL_SEARCH_CONDITION_FAVORITE_NONE.
2008/10/07 Initial version.
CONFIDENTIAL