2012-05-09 22:29:48 -04:00
|
|
|
/*
|
|
|
|
* preferences.h
|
|
|
|
*
|
|
|
|
* Copyright (C) 2012 James Booth <boothj5@gmail.com>
|
|
|
|
*
|
|
|
|
* This file is part of Profanity.
|
|
|
|
*
|
|
|
|
* Profanity is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* Profanity is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with Profanity. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef PREFERENCES_H
|
|
|
|
#define PREFERENCES_H
|
|
|
|
|
2012-05-10 04:55:55 -04:00
|
|
|
#include <glib.h>
|
|
|
|
|
2012-05-09 22:29:48 -04:00
|
|
|
void prefs_load(void);
|
|
|
|
|
2012-05-10 04:55:55 -04:00
|
|
|
gboolean prefs_get_beep(void);
|
|
|
|
void prefs_set_beep(gboolean value);
|
|
|
|
gboolean prefs_get_flash(void);
|
|
|
|
void prefs_set_flash(gboolean value);
|
2012-05-10 17:18:08 -04:00
|
|
|
void prefs_add_login(const char *jid);
|
2012-05-10 04:55:55 -04:00
|
|
|
|
2012-05-09 22:29:48 -04:00
|
|
|
#endif
|