diff options
Diffstat (limited to 'src/view/include/mp-library.h')
-rwxr-xr-x | src/view/include/mp-library.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/src/view/include/mp-library.h b/src/view/include/mp-library.h new file mode 100755 index 0000000..b0d64e8 --- /dev/null +++ b/src/view/include/mp-library.h @@ -0,0 +1,50 @@ +/* + * Copyright 2012 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.tizenopensource.org/license + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +#ifndef __MP_LIBRARY_H_ +#define __MP_LIBRARY_H_ + +#include "music.h" +#include "mp-view-manager.h" +#include "mp-setting-ctrl.h" + +#define STR_MP_ALL_TRACKS N_("IDS_MUSIC_HEADER_SONGS") +#define STR_MP_PLAYLISTS N_("IDS_MUSIC_BODY_PLAYLISTS") +#define STR_MP_ALBUMS N_("IDS_MUSIC_TAB4_ALBUMS") +#define STR_MP_ARTISTS N_("IDS_MUSIC_TAB4_ARTISTS") +#define STR_MP_GENRES N_("IDS_MUSIC_TAB4_GENRES") +#define STR_MP_COMPOSERS N_("IDS_MUSIC_TAB4_COMPOSERS") +#define STR_MP_CONDUCTORS N_("IDS_MUSIC_TAB4_CONDUCTORS") +#define STR_MP_YEARS N_("IDS_MUSIC_TAB4_YEARS") +#define STR_MP_PODCASTS N_("IDS_MUSIC_TAB4_PODCASTS") +#define STR_MP_MOST_PLAYED N_("IDS_MUSIC_BODY_MOST_PLAYED") +#define STR_MP_RECENTLY_ADDED N_("IDS_MUSIC_BODY_RECENTLY_ADDED") +#define STR_MP_RECENTLY_PLAYED N_("IDS_MUSIC_BODY_RECENTLY_PLAYED") +#define STR_MP_QUICK_LIST N_("IDS_MUSIC_BODY_FAVOURITES") +#define STR_MP_ADD_TO_PLAYLIST N_("IDS_MUSIC_BODY_ADD_TO_PLAYLIST") + +void mp_library_create(struct appdata *ad); +void mp_library_update_view(struct appdata *ad); +void mp_library_view_change_cb(void *data, Evas_Object * obj, void *event_info); +void mp_library_now_playing_hide(struct appdata *ad); +void mp_library_now_playing_set(struct appdata *ad); +bool mp_library_load(struct appdata *ad); +void mp_view_manager_clear(struct appdata *ad); + +void mp_library_controlbar_visible_set(struct appdata *ad, bool visible); + +#endif //__MP_LIBRARY_H_ |