Wed, 07 Jul 2004 01:49:39 +0000
[gaim-migrate @ 10291]
(21:36:44) datallah: anyway... i added "Send File" to the prpl core
committer: Luke Schierer <lschiere@pidgin.im>
| 5684 | 1 | /** |
| 2 | * @file gtksound.h GTK+ Sound API | |
| 3 | * | |
| 4 | * gaim | |
| 5 | * | |
| 8046 | 6 | * Gaim is the legal property of its developers, whose names are too numerous |
| 7 | * to list here. Please refer to the COPYRIGHT file distributed with this | |
| 8 | * source distribution. | |
| 5684 | 9 | * |
| 10 | * This program is free software; you can redistribute it and/or modify | |
| 11 | * it under the terms of the GNU General Public License as published by | |
| 12 | * the Free Software Foundation; either version 2 of the License, or | |
| 13 | * (at your option) any later version. | |
| 14 | * | |
| 15 | * This program is distributed in the hope that it will be useful, | |
| 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 18 | * GNU General Public License for more details. | |
| 19 | * | |
| 20 | * You should have received a copy of the GNU General Public License | |
| 21 | * along with this program; if not, write to the Free Software | |
| 22 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 23 | */ | |
| 24 | ||
| 25 | #ifndef _GAIM_GTKSOUND_H_ | |
| 26 | #define _GAIM_GTKSOUND_H_ | |
| 27 | ||
| 28 | /**************************************************************************/ | |
| 29 | /** @name GTK+ Sound API */ | |
| 30 | /**************************************************************************/ | |
| 31 | /*@{*/ | |
| 32 | ||
| 33 | /** | |
| 34 | * Gets GTK Sound UI opsA | |
| 35 | * | |
| 36 | * @return UI operations struct | |
| 37 | */ | |
|
7035
76bca80cd91d
[gaim-migrate @ 7598]
Christian Hammond <chipx86@chipx86.com>
parents:
5684
diff
changeset
|
38 | GaimSoundUiOps *gaim_gtk_sound_get_ui_ops(void); |
|
76bca80cd91d
[gaim-migrate @ 7598]
Christian Hammond <chipx86@chipx86.com>
parents:
5684
diff
changeset
|
39 | |
| 5684 | 40 | /** |
| 41 | * Mutes or un-mutes sounds. | |
| 42 | * | |
| 43 | * @param mute The mute state. | |
| 44 | */ | |
| 45 | void gaim_gtk_sound_set_mute(gboolean mute); | |
| 46 | ||
| 47 | /** | |
| 48 | * Gets mute state for sounds. | |
| 49 | * | |
| 50 | * @return The mute state. | |
| 51 | */ | |
| 52 | gboolean gaim_gtk_sound_get_mute(); | |
| 53 | ||
| 54 | /** | |
| 55 | * Mutes or un-mutes login sounds. | |
| 56 | * | |
| 57 | * @param mute The mute state. | |
| 58 | */ | |
| 59 | void gaim_gtk_sound_set_login_mute(gboolean mute); | |
| 60 | ||
| 61 | /** | |
| 62 | * Get the prefs option for an event. | |
| 63 | * | |
| 64 | * @param event The event. | |
| 65 | * @return The option. | |
| 66 | */ | |
| 67 | const char *gaim_gtk_sound_get_event_option(GaimSoundEventID event); | |
| 68 | ||
| 69 | /** | |
| 70 | * Get the label for an event. | |
| 71 | * | |
| 72 | * @param event The event. | |
| 73 | * @return The label. | |
| 74 | */ | |
| 75 | char *gaim_gtk_sound_get_event_label(GaimSoundEventID event); | |
| 76 | ||
| 77 | /*@}*/ | |
| 78 | ||
| 79 | #endif /* _GAIM_GTKSOUND_H_ */ |