f825860042d2f04fa3fc11f8a7cfb8e90452bedc
[apps/home/b2-clocksetting.git] / src / setting-profile.c
1 /*
2  * Copyright (c) 2010 Samsung Electronics, Inc.
3  * All rights reserved.
4  *
5  * This software is a confidential and proprietary information
6  * of Samsung Electronics, Inc. ("Confidential Information").  You
7  * shall not disclose such Confidential Information and shall use
8  * it only in accordance with the terms of the license agreement
9  * you entered into with Samsung Electronics.
10  *
11  * setting-profile.c (s-health)
12  * 
13  */
14 #include "setting-profile.h"
15 #include "util.h"
16
17 /* profile(s-health) */
18 void _create_profile(void *data, Evas_Object *obj, void *event_info)
19 {
20         appdata *ad = data;
21         if( ad == NULL )
22         {
23                 DBG("%s", "_create_profile - appdata is null");
24                 return;
25         }
26
27         app_control_h service;
28         app_control_create(&service);
29         app_control_set_package(service, PROFILE_APP_ID);
30         app_control_set_operation(service, PROFILE_OP_ID);
31         app_control_send_launch_request(service, NULL, NULL);
32         app_control_destroy(service);
33 }
34