Accounts interfaceRequestFinish

From TrillWiki

Jump to: navigation, search

The accounts_interfaceRequestFinish notification is sent when an account is no longer highlighted in the connection manager, to allow the plugin to clean up any temporary data.

Compatibility: 3.0 and higher

Contents

Syntax

callback(int window_id, char *icontrol, "accounts_interfaceRequestFinish", account_interface_request_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 interfaceRequestFinish utilitizes the account_interface_request_t structure.

struct account_interface_request_t 
{ 
    unsigned int                struct_size; 
 
    struct account_entry_t      *account; 
 
    ttkCallback                 callback; 
    void                        *data; 
};



account
The account which is all nicely cleaned up.


Return Value

Return 0. (really?)

Remarks

None.