idle.h File Reference

Idle API. More...

#include <time.h>
Include dependency graph for idle.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  PurpleIdleUiOps
 Idle UI operations. More...

Functions

Idle API
void purple_idle_touch (void)
 Touch our idle tracker.
void purple_idle_set (time_t time)
 Fake our idle time by setting the time at which our accounts purportedly became idle.
Idle Subsystem
void purple_idle_set_ui_ops (PurpleIdleUiOps *ops)
 Sets the UI operations structure to be used for idle reporting.
PurpleIdleUiOpspurple_idle_get_ui_ops (void)
 Returns the UI operations structure used for idle reporting.
void purple_idle_init (void)
 Initializes the idle system.
void purple_idle_uninit (void)
 Uninitializes the idle system.

Detailed Description

Idle API.

Definition in file idle.h.

Function Documentation

PurpleIdleUiOps* purple_idle_get_ui_ops ( void  )

Returns the UI operations structure used for idle reporting.

Returns
The UI operations structure in use.
void purple_idle_set ( time_t  time)

Fake our idle time by setting the time at which our accounts purportedly became idle.

This is used by the I'dle Mak'er plugin.

void purple_idle_set_ui_ops ( PurpleIdleUiOps ops)

Sets the UI operations structure to be used for idle reporting.

Parameters
opsThe UI operations structure.
void purple_idle_touch ( void  )

Touch our idle tracker.

This signifies that the user is 'active'. The conversation code calls this when the user sends an IM, for example.

All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!