TCLSearchCondition

Definition

#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;
	

Description

The TCL_InitSearchObject function specifies conditions for search-related functions.

The conditions are explained in the following list.

TCL_SEARCH_CONDITION_PICTURESearch only for photos.
TCL_SEARCH_CONDITION_FRAMESearch only for frames.
TCL_SEARCH_CONDITION_FAVORITE_NONESearch for non-favorite photos and frames.
TCL_SEARCH_CONDITION_FAVORITE_1Search for first favorite photos.
TCL_SEARCH_CONDITION_FAVORITE_2Search for second favorite photos.
TCL_SEARCH_CONDITION_FAVORITE_3Search for third favorite photos.
TCL_SEARCH_CONDITION_FAVORITE_ALLSearch for all favorite photos.
TCL_SEARCH_CONDITION_LAUNCHERSearch 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_APPLICATIONSearch for photos signed with the general key.
Photos signed with the general key specify photos captured by other applications.
TCL_SEARCH_CONDITION_FREESearch for empty portions of management information. (Not normally used in an application.)

See Also

TCL_InitSearchObject

Revision History

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