X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fconfig.cpp;h=b610c6e4af8291c03ee6169c9c6f09d495d7f5c8;hb=757c16403ef30a498477dda53ffdcbe634f27c80;hp=1843639c58d3d730ca84539d0ca0b5999e48d801;hpb=a156a120d1622aacef11abcc58fff1adb6a2f786;p=staging%2Fwindowmanager.git diff --git a/src/config.cpp b/src/config.cpp index 1843639..b610c6e 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -1,6 +1,18 @@ -// -// Created by mfritzsc on 8/1/17. -// +/* + * Copyright (C) 2017 Mentor Graphics Development (Deutschland) GmbH + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #include "config.hpp" @@ -8,8 +20,7 @@ namespace wm { config::config() : cfg() { // Supply default values for these... - this->cfg["layers.json"] = getenv("LAYERS_JSON") ?: "../layers.json"; - this->cfg["layout.json"] = getenv("LAYOUT_JSON") ?: "../layout.json"; + this->cfg["layers.json"] = getenv("LAYERS_JSON") ?: "/etc/layers.json"; } -} // namespace wm \ No newline at end of file +} // namespace wm