Mercurial > audlegacy
comparison src/audlegacy/logger.h @ 4811:7bf7f83a217e
rename src/audacious src/audlegacy so that both audlegacy and audacious can coexist.
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Wed, 26 Nov 2008 00:44:56 +0900 |
parents | src/audacious/logger.h@2eee464379dc |
children |
comparison
equal
deleted
inserted
replaced
4810:c10e53092037 | 4811:7bf7f83a217e |
---|---|
1 /* Audacious - Cross-platform multimedia player | |
2 * Copyright (C) 2005-2007 Audacious development team | |
3 * | |
4 * Based on BMP: | |
5 * Copyright (C) 2003-2004 BMP development team. | |
6 * | |
7 * This program is free software; you can redistribute it and/or modify | |
8 * it under the terms of the GNU General Public License as published by | |
9 * the Free Software Foundation; under version 3 of the License. | |
10 * | |
11 * This program 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 this program. If not, see <http://www.gnu.org/licenses>. | |
18 * | |
19 * The Audacious team does not consider modular code linking to | |
20 * Audacious or using our public API to be a derived work. | |
21 */ | |
22 | |
23 #ifndef AUDACIOUS_LOGGER_H | |
24 #define AUDACIOUS_LOGGER_H | |
25 | |
26 #include <glib.h> | |
27 | |
28 G_BEGIN_DECLS | |
29 | |
30 #define BMP_LOGGER_DEFAULT_LOG_LEVEL G_LOG_LEVEL_MESSAGE | |
31 | |
32 /* default log file max size: 512kb */ | |
33 #define BMP_LOGGER_FILE_MAX_SIZE ((size_t)1 << 19) | |
34 | |
35 | |
36 gboolean aud_logger_start(const gchar * filename); | |
37 void aud_logger_stop(void); | |
38 | |
39 G_END_DECLS | |
40 | |
41 #endif /* AUDACIOUS_LOGGER_H */ |