lxcpp: fix cgroup unit tests
[platform/core/security/vasum.git] / server / fake-power-manager-dbus-definitions.hpp
1 /*
2  *  Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  *  Contact: Lukasz Kostyra <l.kostyra@samsung.com>
5  *
6  *  Licensed under the Apache License, Version 2.0 (the "License");
7  *  you may not use this file except in compliance with the License.
8  *  You may obtain a copy of the License at
9  *
10  *      http://www.apache.org/licenses/LICENSE-2.0
11  *
12  *  Unless required by applicable law or agreed to in writing, software
13  *  distributed under the License is distributed on an "AS IS" BASIS,
14  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  *  See the License for the specific language governing permissions and
16  *  limitations under the License
17  */
18
19 /**
20  * @file
21  * @author  Lukasz Kostyra (l.kostyra@samsung.com)
22  * @brief   Declaration of fake dbus definitions from power-manager. Made only to test API in
23  *          ZoneConnection.
24  */
25
26 #ifndef FAKE_POWER_MANAGER_DBUS_DEFINITIONS_H
27 #define FAKE_POWER_MANAGER_DBUS_DEFINITIONS_H
28
29 /**
30  * !!WARNING!!
31  *
32  * This header file is created only to test if API in ZoneConnection works correctly. It should
33  * be removed when power-managers API will be created.
34  */
35
36 namespace fake_power_manager_api
37 {
38
39 const std::string BUS_NAME                          = "com.tizen.fakepowermanager";
40 const std::string OBJECT_PATH                       = "/com/tizen/fakepowermanager";
41 const std::string INTERFACE                         = "com.tizen.fakepowermanager.manager";
42
43 const std::string SIGNAL_DISPLAY_OFF                = "DisplayOff";
44
45 const std::string DEFINITION =
46     "<node>"
47     "  <interface name='" + INTERFACE + "'>"
48     "    <signal name='" + SIGNAL_DISPLAY_OFF + "'>"
49     "    </signal>"
50     "  </interface>"
51     "</node>";
52
53
54 } // namespace fake_power_manager_api
55
56 #endif // FAKE_POWER_MANAGER_DBUS_DEFINITIONS_H