Home2L - C/C++ API
v1.4-0-g38cc (2024-05-25)
Smart Tools for a Private Home
wallclock
app_phone.H
Go to the documentation of this file.
1
/*
2
* This file is part of the Home2L project.
3
*
4
* (C) 2015-2021 Gundolf Kiefer
5
*
6
* Home2L is free software: you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation, either version 3 of the License, or
9
* (at your option) any later version.
10
*
11
* Home2L is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with Home2L. If not, see <https://www.gnu.org/licenses/>.
18
*
19
*/
20
21
22
#ifndef _APP_PHONE_
23
#define _APP_PHONE_
24
25
#include "
base.H
"
26
27
39
#if WITH_PHONE == 1 || DOXYGEN
40
41
void
AppPhoneDial
(
const
char
*url,
CScreen
*returnScreen = NULL);
45
46
#else
// WITH_PHONE == 1
47
48
static
inline
void
AppPhoneDial
(
const
char
*,
CScreen
*) {
49
WARNING
(
"AppPhoneDial(): No phone available."
);
50
}
51
52
#endif
// WITH_PHONE == 1
53
54
55
58
59
60
#endif
// _APP_PHONE_
base.H
CScreen
Screen object.
Definition:
ui_screen.H:293
WARNING
#define WARNING(MSG)
Print a warning message to the console.
Definition:
base.H:244
AppPhoneDial
void AppPhoneDial(const char *url, CScreen *returnScreen=NULL)
Activate the phone applet and dial the given url/number. If 'returnScreen != NULL',...
Generated by
1.9.4