root/trunk/src/tmut-ringtone-player.h

Revision 10 (checked in by pvanhoof, 1 year ago)
        • Added TMutRingtonePlayer
Line 
1 #ifndef TMUT_RINGTONE_PLAYER_H
2 #define TMUT_RINGTONE_PLAYER_H
3
4 /* TMut
5  * Copyright (C) 2006-2007 Philip Van Hoof <pvanhoof@gnome.org>
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation; either
10  * version 2 of the License, or (at your option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with self library; if not, write to the
19  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20  * Boston, MA 02110-1301, USA.
21  */
22
23 #include <tny-shared.h>
24 #include <tny-folder-observer.h>
25 #include <tny-folder-change.h>
26
27 G_BEGIN_DECLS
28
29 #define TMUT_TYPE_RINGTONE_PLAYER             (tmut_ringtone_player_get_type ())
30 #define TMUT_RINGTONE_PLAYER(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), TMUT_TYPE_RINGTONE_PLAYER, TMutRingtonePlayer))
31 #define TMUT_RINGTONE_PLAYER_CLASS(vtable)    (G_TYPE_CHECK_CLASS_CAST ((vtable), TMUT_TYPE_RINGTONE_PLAYER, TMutRingtonePlayerClass))
32 #define TMUT_IS_RINGTONE_PLAYER(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TMUT_TYPE_RINGTONE_PLAYER))
33 #define TMUT_IS_RINGTONE_PLAYER_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), TMUT_TYPE_RINGTONE_PLAYER))
34 #define TMUT_RINGTONE_PLAYER_GET_CLASS(inst)  (G_TYPE_INSTANCE_GET_CLASS ((inst), TMUT_TYPE_RINGTONE_PLAYER, TMutRingtonePlayerClass))
35
36 typedef struct _TMutRingtonePlayer TMutRingtonePlayer;
37 typedef struct _TMutRingtonePlayerClass TMutRingtonePlayerClass;
38 typedef enum _TMutRingtone TMutRingtone;
39
40 enum _TMutRingtone
41 {
42         TMUT_RINGTONE_NEW_MESSAGE,
43 };
44
45 struct _TMutRingtonePlayer
46 {
47         GObject parent;
48 };
49
50 struct _TMutRingtonePlayerClass
51 {
52         GObjectClass parent;
53 };
54
55 GType tmut_ringtone_player_get_type (void);
56 TnyFolderObserver* tmut_ringtone_player_new (void);
57
58
59 G_END_DECLS
60
61 #endif
Note: See TracBrowser for help on using the browser.