4 * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
6 * Contact: MyoungJune Park <mj2004.park@samsung.com>
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
21 #ifndef __SETTING_RINGTONE_H__
22 #define __SETTING_RINGTONE_H__
25 #include <Elementary.h>
26 #include <glib-object.h>
28 #include <sound_manager.h>
30 #include <setting-common-draw-widget.h>
31 #include <setting-common-view.h>
33 typedef struct _SettingRingtoneUG SettingRingtoneUG;
36 * Setting About UG context
37 * all UG function has void* as an agument. this is casted back to SettingRingtoneUG
38 * and the functions access app context.
40 struct _SettingRingtoneUG {
42 app_control_h source_svc;
45 Evas_Object *win_main_layout;
47 Evas_Object *navi_bar;
50 Evas_Object *scroller;
51 Evas_Object *ring_rgd;
53 Elm_Genlist_Item_Class itc_ring;
56 player_h *mp_ringtone;
69 Setting_GenGroupItem_Data *sel_item_data;
71 extern setting_view setting_view_ringtone_main;
72 #endif /* __SETTING_RINGTONE_H__ */