summaryrefslogtreecommitdiffstats
path: root/Project/IOControl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Project/IOControl.cpp')
-rw-r--r--Project/IOControl.cpp19
1 files changed, 18 insertions, 1 deletions
diff --git a/Project/IOControl.cpp b/Project/IOControl.cpp
index 2eab8de..bf40200 100644
--- a/Project/IOControl.cpp
+++ b/Project/IOControl.cpp
@@ -1,10 +1,27 @@
+/*
+ * Copyright (C) 2017 Thales Lima Oliveira <thales@ufu.br>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include "IOControl.h"
#include "IOControlForm.h"
IOControl::IOControl(int ioFlags, int id) : ControlElement(id)
{
m_ioFlags = ioFlags;
-
+
Node* node = new Node(m_position, Node::NODE_IN, m_borderSize);
m_nodeList.push_back(node);