Accounts preferences

From TrillWiki

Jump to: navigation, search

The accounts_preferences notification is sent to an account's callback when the user has clicked the 'preferences' button while highlighting an account in the advanced connection manager introduced in Trillian 3.0. In return, the plugin should display the window for any extended preferences associated with the account.

Compatibility: 3.0 and higher

Contents

Syntax

callback(int window_id, char *icontrol, "accounts_preferences", account_entry_t *data, void *userData);

Note that all Trillian functions and notifications begin with a lower-case letter, despite the Wiki requirement that all pages start with a capital letter.

Parameters

Accounts preferences utilitizes the account_entry_t structure.

struct account_entry_t
{
    unsigned int                struct_size;

    char                        *account;
    char                        *medium;
    char                        *status;
    char                        *section;

    int                         connected;
    long                        last_connected;

    HICON                       icon;
    HWND                        window;

    /* 3.0
     */
    ttkCallback                 callback;
    void                        *data;
};



account
The name of the account whose preferences should be displayed.


Return Value

Return 1. Always.

Remarks

None.


Personal tools