Add licence notices and remove needless comments 16/169416/2
authorLukasz Wlazly <l.wlazly@partner.samsung.com>
Tue, 6 Feb 2018 10:44:23 +0000 (11:44 +0100)
committerLukasz Wlazly <l.wlazly@partner.samsung.com>
Tue, 6 Feb 2018 12:47:08 +0000 (13:47 +0100)
Change-Id: I19854ab57d780b73ccac347e2ba59a3848f05cf9

26 files changed:
src/Configuration.hpp
src/DBus.cpp
src/DoneCallback.cpp
src/DoneCallback.hpp
src/NavigationInterface.cpp
src/RotateActivity.cpp
src/ScreenScannerManager.cpp
src/ScreenSwitchProvider.cpp
src/ScreenshotActivity.cpp
src/SwitchManager.cpp
src/batch/Dlog.cpp
src/batch/Dlog.hpp
src/batch/EvaluationValueBase.cpp
src/batch/EvaluationValueBoolean.cpp
src/batch/EvaluationValueDict.cpp
src/batch/EvaluationValueDouble.cpp
src/batch/EvaluationValueFunction.cpp
src/batch/EvaluationValueInteger.cpp
src/batch/EvaluationValuePoint.cpp
src/batch/EvaluationValueSet.cpp
src/batch/EvaluationValueString.cpp
src/batch/EvaluationValueUIElement.cpp
src/batch/EvaluationValueVector.cpp
src/batch/EvaluationValueWait.cpp
src/batch/Evaluator.cpp
src/batch/Monitor.hpp

index e307c2e7fc301f8bb040c8e43209182730a4f42c..17f6d542e0978f72b6a72ef1771524f67396d874 100644 (file)
@@ -33,7 +33,6 @@ public:
        virtual void update(const std::shared_ptr<SwitchConfigurationItem> &item) = 0;
        virtual void remove(const std::string &switchId) = 0;
        virtual std::shared_ptr<SwitchConfigurationItem> findBySwitchId(const std::string &switchId) const = 0;
-       // virtual std::vector<std::shared_ptr<SwitchConfigurationItem>> findByProviderId(const std::string &providerId) const = 0;
        virtual std::vector<std::shared_ptr<SwitchConfigurationItem>> findAll() const = 0;
 };
 
index e0a73f167493d3606493e4d23dd0446110be39ae..0f261be295f01661a34d04699d5f3eafefb862a4 100644 (file)
@@ -41,7 +41,6 @@ void DBus::detail::emitNotification(const char *bus, const char *path, const cha
        }
 }
 
-
 void DBus::setDebugPrinter(std::function<void(const char *, size_t)> printer)
 {
        std::lock_guard<std::mutex> lock(debugLock);
index 6b70d561e8ba9799e57d9a6c9e9269ce3c80e335..ffbc6bb5ec6ce140ef17a43151bd8ed84e2789b3 100644 (file)
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2018  Samsung Electronics Co., Ltd
+ *
+ * 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 "DoneCallback.hpp"
 #include "ecore.hpp"
 #include "UniversalSwitch.hpp"
index 0f0544082735f895b49d1a3794100306d0f431d8..2c8665d3019f9c7447da046283f1763ebb4397b3 100644 (file)
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2018  Samsung Electronics Co., Ltd
+ *
+ * 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.
+ */
+
 #ifndef DONE_CALLBACK_HPP
 #define DONE_CALLBACK_HPP
 
index 44aa6b2ae9fc47983eb740825cc9665e951e709a..34381c8acc99a83f2f789e3b4266d332502da5ed 100644 (file)
@@ -95,11 +95,6 @@ class NavigationImpl : public NavigationInterface
 public:
        NavigationImpl()
        {
-#ifdef DEBUG_DEBUGS_WANTED
-               // DBus::setDebugPrinter([](auto str, auto strLen) {
-               //      DEBUG("%s", std::string(str, strLen).c_str());
-               // });
-#endif
                watchHandle = Singleton<UniversalSwitch>::instance().getAtspi()->registerWatcherForAllObjects(
                [this](const auto & src, auto eventType) {
                        this->onAtspiEvent(src, eventType);
index c44e4e78e5573e490687fcc6f900a6b1663e5ce8..227e1640bc262d89d7b2741537d69dcc961d2070 100644 (file)
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2018  Samsung Electronics Co., Ltd
+ *
+ * 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 "Activity.hpp"
 #include "ActivityFactory.hpp"
 #include "UniversalSwitchLog.hpp"
index 9f02cd319307790159075d167770094cd14cdfd3..7a300e743127fd6378dc439f1ba064277d8beba6 100644 (file)
@@ -181,7 +181,6 @@ void ScreenScannerManager::prev()
        screenScanner->prev();
 }
 
-
 void ScreenScannerManager::acceptAutoscanning()
 {
        Optional<std::shared_ptr<UIElement>> element;
index d3224a74ac143c201e710def4f9232ae8b52340f..2b735bca13b9fbc06824fbfd33c7c382bfff105b 100644 (file)
@@ -51,7 +51,7 @@ void ScreenSwitchProvider::disable()
 
 void ScreenSwitchProvider::onTouch(int pointerIndex)
 {
-       if (!isSingleTouch(pointerIndex)) // ignoring events from pointers with index higher than 0
+       if (!isSingleTouch(pointerIndex))
                return;
 
        auto sw = switches[0];
@@ -64,7 +64,7 @@ void ScreenSwitchProvider::onTouch(int pointerIndex)
 
 void ScreenSwitchProvider::onRelease(int pointerIndex)
 {
-       if (!isSingleTouch(pointerIndex)) // ignoring events from pointers with index higher than 0
+       if (!isSingleTouch(pointerIndex))
                return;
 
        interactionManager.stopInteraction(switches[0]);
index e570f3ae2392ace2da7107fa55778a7fffe50dfd..9868b0a1e1d64a857e378b6d309639e5dc374546 100644 (file)
@@ -33,7 +33,7 @@
 #include <iomanip>
 #include <sstream>
 
-/* TODO This class should be refactored, and should use some external functionality through, dbus or Application Control , when such funcionality will be avalible */
+/* TODO This class should be refactored, and should use some external functionality through, dbus or Application Control, when such funcionality will be avalible */
 
 class ScreenshotActivity : public UIActivity, private RegisterActivity<ScreenshotActivity>
 {
index cb1bfa9d786f8e53c1858ea671854817dbe0938b..a79fa0e7d29af965f3307bec0114c43b84d35e5b 100644 (file)
@@ -67,7 +67,6 @@ void SwitchManager::terminate()
        }
 }
 
-
 void SwitchManager::update(const std::shared_ptr<SwitchConfigurationItem> &item)
 {
        DEBUG("notified with item: %s", item->getSwitchId().c_str());
index 80bb4d81a53ff4843df5f41c32d0da6f42aef1f0..f18884346b72e09b23e2673c74cfd72552ab1780 100644 (file)
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2018  Samsung Electronics Co., Ltd
+ *
+ * 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 "Dlog.hpp"
 #include "../UniversalSwitchLog.hpp"
 #include <sys/types.h>
@@ -117,4 +133,4 @@ bool Dlog::start()
                        close(dlogFile);
                } };
        return true;
-}
\ No newline at end of file
+}
index e0d4e1d059bf48c5a477054c4b66f2a8684184c5..0764e09ba135580498b7138790ddd2e9e4a31a3b 100644 (file)
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2018  Samsung Electronics Co., Ltd
+ *
+ * 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.
+ */
+
 #ifndef DLOG_HPP
 #define DLOG_HPP
 
index 1b6c37c2f4b96db1535c1e73adae5d1cc6c3fd03..e238715d6b2d4909fe664e979eb04b8f3f3f1fa8 100644 (file)
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2018  Samsung Electronics Co., Ltd
+ *
+ * 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 "EvaluationValueBase.hpp"
 #include "EvaluationValue.hpp"
 #include "../UniversalSwitchLog.hpp"
index 6191647ec2c6edd8a5ec1cd9416008a3df7dddc8..61d7305a91699e11a4a7b55292bfe82b3a4c0840 100644 (file)
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2018  Samsung Electronics Co., Ltd
+ *
+ * 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 "EvaluationValueBase.hpp"
 
 class EvaluationValueBooleanImpl : public EvaluationValueBase
index 6f867634cc1609446cc62f538147acfcea937da4..db0f083982914305b24f5542604bc8545ec8fd2a 100644 (file)
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2018  Samsung Electronics Co., Ltd
+ *
+ * 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 "EvaluationValueBase.hpp"
 
 class EvaluationValueDictImpl : public EvaluationValueBase
index 78c1db06884f92d7713859f408dbb8c84e6db3a6..d1f868e4deab22221d8a310335e3b7a638590f43 100644 (file)
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2018  Samsung Electronics Co., Ltd
+ *
+ * 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 "EvaluationValueBase.hpp"
 
 class EvaluationValueDoubleImpl : public EvaluationValueBase
index 452b99983ebd330e6637ccf45daf19e200297308..12f4f029a3c522bedf3d28208cbf3960ce1220fd 100644 (file)
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2018  Samsung Electronics Co., Ltd
+ *
+ * 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 "EvaluationValueBase.hpp"
 #include "EvaluationContext.hpp"
 
index 21afd78e7d3165de8493b3fa7dbf8d0a2da7755a..9ed8581635cdd14a5f8b336314d9fa04cd58cb61 100644 (file)
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2018  Samsung Electronics Co., Ltd
+ *
+ * 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 "EvaluationValueBase.hpp"
 
 class EvaluationValueIntegerImpl : public EvaluationValueBase
index ccdd026c9c71bd23b070a59ed7f7632fce225360..5856f2f7bf465300f856f2fef399f561f1837d85 100644 (file)
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2018  Samsung Electronics Co., Ltd
+ *
+ * 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 "EvaluationValueBase.hpp"
 #include "EvaluationContext.hpp"
 #include "../Geometry.hpp"
index f65a4349c3c32e82a14512a203d3ddd368473532..ece6358ff1b8502656b6468a782c55ad9daa872c 100644 (file)
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2018  Samsung Electronics Co., Ltd
+ *
+ * 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 "EvaluationValueBase.hpp"
 
 class EvaluationValueSetImpl : public EvaluationValueBase
index 53a8b1f33cf553d447bfc6d012b0ee8413c02a25..a40a34e06c673dde2dbc7140559bdd05ea3eccd4 100644 (file)
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2018  Samsung Electronics Co., Ltd
+ *
+ * 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 "EvaluationValueBase.hpp"
 #include "EvaluationContext.hpp"
 #include "../Geometry.hpp"
index 94e750b2e6d5b5f6113832fab13e0fff39f88fce..9507a3d9c7319b8fb1c907bccf3fea53da356598 100644 (file)
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2018  Samsung Electronics Co., Ltd
+ *
+ * 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 "EvaluationValueBase.hpp"
 #include "EvaluationContext.hpp"
 #include "../UIElement.hpp"
index bc07a4cd92ef5bd318efe425d53fc4972f6bdae9..d6ccce81faf5958a39c554daaf306c47eb670ef4 100644 (file)
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2018  Samsung Electronics Co., Ltd
+ *
+ * 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 "EvaluationValueBase.hpp"
 
 class EvaluationValueVectorImpl : public EvaluationValueBase
index 27af8619c7702011bc69db21b02c34d7461f2557..c450db11254ca6dab7511b6957c85ee7071603ed 100644 (file)
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2018  Samsung Electronics Co., Ltd
+ *
+ * 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 "EvaluationValueBase.hpp"
 
 class EvaluationValueWaitImpl : public EvaluationValueBase
index 49bd4a03f9b17e7b21ed8af07d05d40a0c1078b1..ffad3d0a67eaf9c872f0ff0d56aa00def8aacfb6 100644 (file)
@@ -147,7 +147,6 @@ void AttributeEvaluator::printSelfInfo(std::ostringstream &os, unsigned int dept
        self->printSelfInfo(os, depth + 1);
 }
 
-
 AttributeSetterEvaluator::AttributeSetterEvaluator(TokenLocation tokenLocation, ExprPtr self, std::string identifier, ExprPtr value) :
        ExpressionEvaluator(std::move(tokenLocation)), self(std::move(self)), value(std::move(value)), identifier(std::move(identifier)) { }
 
@@ -167,6 +166,7 @@ void AttributeSetterEvaluator::printSelfInfo(std::ostringstream &os, unsigned in
 }
 
 
+
 SetterEvaluator::SetterEvaluator(TokenLocation tokenLocation, std::string identifier, ExprPtr value) :
        ExpressionEvaluator(std::move(tokenLocation)), value(std::move(value)), identifier(std::move(identifier)) { }
 
@@ -185,6 +185,7 @@ void SetterEvaluator::printSelfInfo(std::ostringstream &os, unsigned int depth)
 }
 
 
+
 PointEvaluator::PointEvaluator(TokenLocation tokenLocation, ExprPtr x, ExprPtr y) :
        ExpressionEvaluator(std::move(tokenLocation)), x(std::move(x)), y(std::move(y)) { }
 
@@ -205,6 +206,7 @@ void PointEvaluator::printSelfInfo(std::ostringstream &os, unsigned int depth) c
 }
 
 
+
 IntegerEvaluator::IntegerEvaluator(TokenLocation tokenLocation, int64_t value) :
        ExpressionEvaluator(std::move(tokenLocation)), value(value) { }
 
@@ -219,6 +221,7 @@ void IntegerEvaluator::printSelfInfo(std::ostringstream &os, unsigned int depth)
 }
 
 
+
 DoubleEvaluator::DoubleEvaluator(TokenLocation tokenLocation, double value) :
        ExpressionEvaluator(std::move(tokenLocation)), value(value) { }
 
@@ -233,6 +236,7 @@ void DoubleEvaluator::printSelfInfo(std::ostringstream &os, unsigned int depth)
 }
 
 
+
 StringEvaluator::StringEvaluator(TokenLocation tokenLocation, std::string value) :
        ExpressionEvaluator(std::move(tokenLocation)), value(std::move(value)) { }
 
@@ -305,6 +309,7 @@ void ArraySetDictEvaluator::printSelfInfo(std::ostringstream &os, unsigned int d
 }
 
 
+
 OperatorEvaluator::OperatorEvaluator(TokenLocation tokenLocation, ExprPtrs args, Kind kind) :
        ExpressionEvaluator(std::move(tokenLocation)), args(std::move(args)), kind(kind) { }
 
@@ -434,10 +439,6 @@ void CompOperatorEvaluator::printSelfInfo(std::ostringstream &os, unsigned int d
 
 
 
-
-
-
-
 BooleanEvaluator::BooleanEvaluator(TokenLocation tokenLocation, bool value) :
        ExpressionEvaluator(std::move(tokenLocation)), value(std::move(value)) { }
 
@@ -452,6 +453,7 @@ void BooleanEvaluator::printSelfInfo(std::ostringstream &os, unsigned int depth)
 }
 
 
+
 CallEvaluator::CallEvaluator(TokenLocation tokenLocation, ExprPtr function, ExprPtrs args, ExprMapPtrs keywordArgs) :
        ExpressionEvaluator(tokenLocation), function(std::move(function)), args(std::move(args)), keywordArgs(std::move(keywordArgs)) { }
 
@@ -480,6 +482,7 @@ void CallEvaluator::printSelfInfo(std::ostringstream &os, unsigned int depth) co
 }
 
 
+
 ExpressionAsStatementEvaluator::ExpressionAsStatementEvaluator(TokenLocation tokenLocation, ExprPtr expr) :
        StatementEvaluator(tokenLocation), expr(std::move(expr)) { }
 
@@ -543,5 +546,3 @@ void WaitEvaluator::printSelfInfo(std::ostringstream &os, unsigned int depth) co
                w->printSelfInfo(os, depth + 1);
        }
 }
-
-
index 7f106513081fb936059a9556ba2fd1d3fba40386..23700a026f20ac4bf64ee8aed71304416c7ae1d4 100644 (file)
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2018  Samsung Electronics Co., Ltd
+ *
+ * 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.
+ */
+
 #ifndef MONITOR_HPP
 #define MONITOR_HPP
 
@@ -204,4 +220,4 @@ public:
        }
 };
 
-#endif
\ No newline at end of file
+#endif