libkeepalive
Toggle main menu visibility
Loading...
Searching...
No Matches
keepalive-displaykeepalive.h
Go to the documentation of this file.
1
/****************************************************************************************
2
**
3
** Copyright (C) 2014 - 2018 Jolla Ltd.
4
**
5
** Author: Simo Piiroinen <simo.piiroinen@jollamobile.com>
6
**
7
** All rights reserved.
8
**
9
** This file is part of nemo-keepalive package.
10
**
11
** You may use this file under the terms of the GNU Lesser General
12
** Public License version 2.1 as published by the Free Software Foundation
13
** and appearing in the file license.lgpl included in the packaging
14
** of this file.
15
**
16
** This library is free software; you can redistribute it and/or
17
** modify it under the terms of the GNU Lesser General Public
18
** License version 2.1 as published by the Free Software Foundation
19
** and appearing in the file license.lgpl included in the packaging
20
** of this file.
21
**
22
** This library is distributed in the hope that it will be useful,
23
** but WITHOUT ANY WARRANTY; without even the implied warranty of
24
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
25
** Lesser General Public License for more details.
26
**
27
****************************************************************************************/
28
33
34
#ifndef KEEPALIVE_GLIB_DISPLAYKEEPALIVE_H_
35
# define KEEPALIVE_GLIB_DISPLAYKEEPALIVE_H_
36
37
# ifdef __cplusplus
38
extern
"C"
{
39
# elif 0
40
}
/* fool JED indentation ... */
41
# endif
42
43
# pragma GCC visibility push(default)
44
50
typedef
struct
displaykeepalive_t
displaykeepalive_t
;
51
63
displaykeepalive_t
*
displaykeepalive_new
(
void
);
64
73
displaykeepalive_t
*
displaykeepalive_ref
(
displaykeepalive_t
*self);
74
83
void
displaykeepalive_unref
(
displaykeepalive_t
*self);
84
93
void
displaykeepalive_start
(
displaykeepalive_t
*self);
94
97
void
displaykeepalive_stop
(
displaykeepalive_t
*self);
98
99
# pragma GCC visibility pop
100
101
# ifdef __cplusplus
102
};
103
# endif
104
105
#endif
// KEEPALIVE_GLIB_DISPLAYKEEPALIVE_H_
displaykeepalive_stop
void displaykeepalive_stop(displaykeepalive_t *self)
displaykeepalive_unref
void displaykeepalive_unref(displaykeepalive_t *self)
displaykeepalive_start
void displaykeepalive_start(displaykeepalive_t *self)
displaykeepalive_ref
displaykeepalive_t * displaykeepalive_ref(displaykeepalive_t *self)
displaykeepalive_new
displaykeepalive_t * displaykeepalive_new(void)
displaykeepalive_t
struct displaykeepalive_t displaykeepalive_t
Definition
keepalive-displaykeepalive.h:50
Generated by
1.17.0