tizen 2.3 release
[apps/home/settings.git] / setting-ringtone / include / setting-ringtone-util.h
1
2 #ifndef __SETTING_RINGTONE_UTIL_H__
3 #define __SETTING_RINGTONE_UTIL_H__
4
5 #include "setting-ringtone.h"
6 #include <sys/types.h>
7 #include <dirent.h>
8 #include <metadata_extractor.h>
9
10 typedef struct _ugFsNodeInfo fileNodeInfo;
11 struct _ugFsNodeInfo {
12         char *path;
13         char *name;
14         char *media_name;
15 };
16
17 int get_filelist_from_dir_path(char *path, Eina_List **file_list);
18 char* get_filename_from_fullname(const char* fullname);
19 inline char* strlower(char* str);
20 void ringtone_play_sound(const char *sound_file, player_h **mp_handle);
21 void ringtone_stop_sound(void *data);
22
23 #endif