Correction additional about "Removed system controller."
[profile/ivi/ico-uxf-homescreen.git] / tests / apps-framework / tst_appresctl_main.c
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   test suite for App Resource Control API
11  *
12  * @date    July-31-2013
13  */
14
15 #include<string.h>
16
17 #include <ail.h>
18
19 /* ----------------------------------------------- */
20 /* Main                                            */
21 /* ----------------------------------------------- */
22 int
23 main(int argc, char **argv)
24 {
25     int id;
26
27     for (id = 0; id < argc; id++) {
28         if (strcmp(argv[id], "-add") == 0) {
29             ail_desktop_add("test.ico.res.app");
30         }
31         else if (strcmp(argv[id], "-del") == 0) {
32             ail_desktop_remove("test.ico.res.app");
33         }
34     }
35
36     return 0;
37 }
38 /* vim: set expandtab ts=4 sw=4: */