f8c371959117f411f1a3f4d8e8543d0ecdbd4dbc
[strongswan.git] / src / frontends / maemo / src / strongswan-settings.c
1 /*
2 * Copyright (C) 2010 Tobias Brunner
3 * Hochschule fuer Technik Rapperswil
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published by the
7 * Free Software Foundation; either version 2 of the License, or (at your
8 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
9 *
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13 * for more details.
14 */
15
16 #include <hildon-cp-plugin/hildon-cp-plugin-interface.h>
17
18 /**
19 * main callback for control panel plugins
20 */
21 osso_return_t execute(osso_context_t *osso, gpointer data,
22 gboolean user_activated)
23 {
24 if (!user_activated)
25 {
26 /* load state */
27 }
28
29 return OSSO_OK;
30 }
31
32 /**
33 * callback called in case state has to be saved
34 */
35 osso_return_t save_state(osso_context_t *osso, gpointer data)
36 {
37 /* save state */
38 return OSSO_OK;
39 }
40