nn::cec::CTR Namespace

Description

Namespace for the CEC library.
(This namespace can also be written without the "::CTR" portion.)

Classes

nn::cec::CTR::CecControl Returns the Cec state.
nn::cec::CTR::Message Class that handles CEC Message objects.
nn::cec::CTR::MessageBox Class for accessing CEC MessageBox objects.
nn::cec::CTR::MessageBoxInfoReader Gets the header information for a box's message. Can be used in cases such as when getting a list of messages.
nn::cec::CTR::MessageId Message ID

Structures

nn::cec::CTR::CecNotificationParam Receive information for each box.
nn::cec::CTR::CecNotificationData Receive information.

Enumerated Types

CecBoxDataType Indicates the types of data associated with boxes.
CecBoxType Types used for inboxes and outboxes.

typedef Definitions

MessageBoxFlag
MessageBoxFlag Flag that indicates MessageBox attributes.
SendMode
SendMode The sending mode for messages. Specified in a message.
MessageTypeFlag
MessageTypeFlag Flag for switching messages depending on the recipient. Specified in a message.
MessageExHeaderType
MessageExHeaderType Data types for a message's extended header.
Other
TitleId TitleID format.

Constants

MessageBoxFlag
S MESSAGE_BOX_FLAG_APPLICATION The value is specified by default for general applications.
SendMode
S SENDMODE_RECV Receiving only.
S SENDMODE_SEND Sending only.
S SENDMODE_SENDRECV Sending and receiving.
S SENDMODE_EXCHANGE Exchange.
MessageTypeFlag
S MESSAGE_TYPEFLAG_NON_FRIEND Non-friends can receive the message.
S MESSAGE_TYPEFLAG_FRIEND Friends can receive the message.
MessageExHeaderType
S MESSAGE_EXHEADER_TYPE_ICON The icon for each message.
S MESSAGE_EXHEADER_TYPE_INFO The data description for each message.
Send Count and Propagation Count
S MESSAGE_SENDCOUNT_ONCE Specifies the number of times to send. The message is sent only once.
S MESSAGE_SENDCOUNT_UNLIMITED Specifies the number of times to send. It does not set a limit on the send count.
S MESSAGE_PROPAGATIONCOUNT_ONCE Specifies the number of times to propagate. It does not initiate propagation.
Other
S CEC_SIZEOF_MESSAGEID MessageId size.

Functions

Initialize Connects to the CEC daemon. This must be called first to allow access to the CEC MessageBox.
Finalize Finalizes access to the CEC daemon.
GetCecRecvEventHandle Specifies the Event object to receive reception notifications.
GetCecInfoBuffer Gets information about a received message.

Revision History

2010/08/16
Initial version.

CONFIDENTIAL