apply FSL(Flora Software License)
[framework/system/system-server.git] / predefine_act_plugin / xxx-predefine.c
1 /*
2  * Copyright 2012  Samsung Electronics Co., Ltd
3  *
4  * Licensed under the Flora License, Version 1.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.tizenopensource.org/license
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15 */
16
17
18 #include <stdio.h>
19 #include <sysman.h>
20
21 int SS_PREDEFINE_ACT_FUNC(int argc, char **argv)
22 {
23         int i;
24         printf("kqwekrqkwerqwer\n");
25         for (i = 0; i < argc; i++)
26                 printf("%s\n", argv[i]);
27         return 0;
28 }
29
30 int SS_IS_ACCESSABLE_FUNC(int pid)
31 {
32         printf("qwerqerqewr %d\n", pid);
33         return 1;
34 }
35
36 int SS_UI_VIEWABLE_FUNC()
37 {
38         printf("kakak viewable\n");
39         return 1;
40 }