pidgin
2.14.14
Toggle main menu visibility
Loading...
Searching...
No Matches
idle.h
Go to the documentation of this file.
1
5
6
/* purple
7
*
8
* Purple is the legal property of its developers, whose names are too numerous
9
* to list here. Please refer to the COPYRIGHT file distributed with this
10
* source distribution.
11
*
12
* This program is free software; you can redistribute it and/or modify
13
* it under the terms of the GNU General Public License as published by
14
* the Free Software Foundation; either version 2 of the License, or
15
* (at your option) any later version.
16
*
17
* This program is distributed in the hope that it will be useful,
18
* but WITHOUT ANY WARRANTY; without even the implied warranty of
19
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
* GNU General Public License for more details.
21
*
22
* You should have received a copy of the GNU General Public License
23
* along with this program; if not, write to the Free Software
24
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
25
*/
26
#ifndef _PURPLE_IDLE_H_
27
#define _PURPLE_IDLE_H_
28
29
#include <time.h>
30
34
typedef
struct
35
{
36
time_t (*get_time_idle)(void);
37
38
void (*_purple_reserved1)(void);
39
void (*_purple_reserved2)(void);
40
void (*_purple_reserved3)(void);
41
void (*_purple_reserved4)(void);
42
}
PurpleIdleUiOps
;
43
44
#ifdef __cplusplus
45
extern
"C"
{
46
#endif
47
48
/**************************************************************************/
50
/**************************************************************************/
52
58
void
purple_idle_touch
(
void
);
59
65
void
purple_idle_set
(time_t time);
66
68
69
/**************************************************************************/
71
/**************************************************************************/
73
79
void
purple_idle_set_ui_ops
(
PurpleIdleUiOps
*ops);
80
86
PurpleIdleUiOps
*
purple_idle_get_ui_ops
(
void
);
87
91
void
purple_idle_init
(
void
);
92
96
void
purple_idle_uninit
(
void
);
97
99
100
#ifdef __cplusplus
101
}
102
#endif
103
104
#endif
/* _PURPLE_IDLE_H_ */
purple_idle_set
void purple_idle_set(time_t time)
Fake our idle time by setting the time at which our accounts purportedly became idle.
purple_idle_get_ui_ops
PurpleIdleUiOps * purple_idle_get_ui_ops(void)
Returns the UI operations structure used for idle reporting.
purple_idle_set_ui_ops
void purple_idle_set_ui_ops(PurpleIdleUiOps *ops)
Sets the UI operations structure to be used for idle reporting.
purple_idle_uninit
void purple_idle_uninit(void)
Uninitializes the idle system.
purple_idle_touch
void purple_idle_touch(void)
Touch our idle tracker.
purple_idle_init
void purple_idle_init(void)
Initializes the idle system.
PurpleIdleUiOps
Idle UI operations.
Definition
idle.h:35
libpurple
idle.h
Generated on
for pidgin by
1.17.0