4274879298f1657817e94bc071ff36066c767e0a
[profile/ivi/dLeyna.git] / dleyna-core / libdleyna / core / settings.h
1 /*
2  * dLeyna
3  *
4  * Copyright (C) 2012-2013 Intel Corporation. All rights reserved.
5  *
6  * This program is free software; you can redistribute it and/or modify it
7  * under the terms and conditions of the GNU Lesser General Public License,
8  * version 2.1, as published by the Free Software Foundation.
9  *
10  * This program is distributed in the hope it will be useful, but WITHOUT
11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
13  * for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public License
16  * along with this program; if not, write to the Free Software Foundation, Inc.,
17  * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
18  *
19  * Ludovic Ferrandis <ludovic.ferrandis@intel.com>
20  *
21  */
22
23 #ifndef DLEYNA_SETTINGS_H__
24 #define DLEYNA_SETTINGS_H__
25
26 #include <glib.h>
27
28 typedef struct dleyna_settings_t_ dleyna_settings_t;
29
30 void dleyna_settings_new(const gchar *server, dleyna_settings_t **settings);
31 void dleyna_settings_delete(dleyna_settings_t *settings);
32
33 gboolean dleyna_settings_is_never_quit(dleyna_settings_t *settings);
34 const gchar *dleyna_settings_connector_name(dleyna_settings_t *settings);
35
36 #endif /* DLEYNA_SETTINGS_H__ */