Fix desktop icons' install path
[profile/ivi/ico-uxf-homescreen.git] / include / ico_syc_userctl.h
1 /*
2  * Copyright (c) 2013, TOYOTA MOTOR CORPORATION.
3  *
4  * This program is licensed under the terms and conditions of the
5  * Apache License, version 2.0.  The full text of the Apache License is at
6  * http://www.apache.org/licenses/LICENSE-2.0
7  *
8  */
9 /**
10  * @brief   header file of User Control API
11  *          for privilege applications
12  *
13  * @date    Sep-4-2013
14  */
15
16 #ifndef _ICO_SYC_USERCTL_H_
17 #define _ICO_SYC_USERCTL_H_
18
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22
23 /*============================================================================*/
24 /* functions                                                                  */
25 /*============================================================================*/
26 /*--------------------------------------------------------------------------*/
27 /**
28  * @brief   ico_syc_change_user
29  *          Change the login user.
30  *          If fails to authenticate the user,
31  *          callback function notifies the result.
32  *
33  * @param[in]   name                    user name
34  * @param[in]   password                user's password
35  * @return      none
36  */
37 /*--------------------------------------------------------------------------*/
38 void ico_syc_change_user(const char *name, const char *password);
39
40 /*--------------------------------------------------------------------------*/
41 /**
42  * @brief   ico_syc_get_userlist
43  *          Get the user list.
44  *          Callback function notifies the user list.
45  *
46  * @param       none
47  * @return      none
48  */
49 /*--------------------------------------------------------------------------*/
50 void ico_syc_get_userlist(void);
51
52 /*--------------------------------------------------------------------------*/
53 /**
54  * @brief   ico_syc_get_lastinfo
55  *          Get the application's last information.
56  *          Callback function notifies the application's last information.
57  *
58  * @param       none
59  * @return      none
60  */
61 /*--------------------------------------------------------------------------*/
62 void ico_syc_get_lastinfo(void);
63
64 /*--------------------------------------------------------------------------*/
65 /**
66  * @brief   ico_syc_set_lastinfo
67  *          Set the application's last information.
68  *
69  * @param[in]   lastinfo                application's last information
70  * @return      none
71  */
72 /*--------------------------------------------------------------------------*/
73 void ico_syc_set_lastinfo(const char *lastinfo);
74
75
76 #ifdef __cplusplus
77 }
78 #endif
79 #endif /*_ICO_SYC_USERCTL_H_*/
80 /* vim:set expandtab ts=4 sw=4: */