Merge branch 'easysetup'
[platform/upstream/iotivity.git] / service / resource-container / src / InternalTypes.h
1 //******************************************************************
2 //
3 // Copyright 2015 Samsung Electronics All Rights Reserved.
4 //
5 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
6 //
7 // Licensed under the Apache License, Version 2.0 (the "License");
8 // you may not use this file except in compliance with the License.
9 // You may obtain a copy of the License at
10 //
11 //      http://www.apache.org/licenses/LICENSE-2.0
12 //
13 // Unless required by applicable law or agreed to in writing, software
14 // distributed under the License is distributed on an "AS IS" BASIS,
15 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 // See the License for the specific language governing permissions and
17 // limitations under the License.
18 //
19 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
20
21 #ifndef RC_INTERNALTYPES_H_
22 #define RC_INTERNALTYPES_H_
23
24 #include "logger.h"
25
26 namespace OIC
27 {
28     namespace Service
29     {
30         constexpr char CONTAINER_TAG[] = "RESOURCE_CONTAINER";
31         constexpr char DISCOVER_TAG[] = "DISCOVER_RESOURCE_UNIT";
32
33         constexpr char BUNDLE_TAG[] = "bundle";
34         constexpr char BUNDLE_ID[] = "id";
35         constexpr char BUNDLE_PATH[] = "path";
36         constexpr char BUNDLE_VERSION[] = "version";
37         constexpr char BUNDLE_ACTIVATOR[] = "activator";
38         constexpr char BUNDLE_LIBRARY_PATH[] = "libraryPath";
39
40         constexpr char INPUT_RESOURCE[] = "input";
41         constexpr char INPUT_RESOURCE_URI[] = "resourceUri";
42         constexpr char INPUT_RESOURCE_TYPE[] = "resourceType";
43         constexpr char INPUT_RESOURCE_ATTRIBUTENAME[] = "name";
44
45         constexpr char OUTPUT_RESOURCES_TAG[] = "resources";
46         constexpr char OUTPUT_RESOURCE_INFO[] = "resourceInfo";
47         constexpr char OUTPUT_RESOURCE_NAME[] = "name";
48         constexpr char OUTPUT_RESOURCE_URI[] = "resourceUri";
49         constexpr char OUTPUT_RESOURCE_TYPE[] = "resourceType";
50         constexpr char OUTPUT_RESOURCE_ADDR[] = "address";
51     }
52 }
53
54 #endif /* RC_INTERNALTYPES_H_ */