changeset 13543:8d529f8103dc

Separated backend files to folder.
author Jacob Dawid <jacob.dawid@googlemail.com>
date Tue, 26 Jul 2011 23:15:38 +0200
parents 5b168bbd6044
children 81eef7babeb5
files gui/octave-gui.pro gui/src/OctaveCallbackThread.cpp gui/src/OctaveCallbackThread.h gui/src/OctaveLink.cpp gui/src/OctaveLink.h gui/src/OctaveMainThread.cpp gui/src/OctaveMainThread.h gui/src/backend/OctaveCallbackThread.cpp gui/src/backend/OctaveCallbackThread.h gui/src/backend/OctaveLink.cpp gui/src/backend/OctaveLink.h gui/src/backend/OctaveMainThread.cpp gui/src/backend/OctaveMainThread.h
diffstat 7 files changed, 79 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/gui/octave-gui.pro
+++ b/gui/octave-gui.pro
@@ -34,7 +34,7 @@
 }
 
 # Includepaths and libraries to link against:
-INCLUDEPATH         += src src/terminal src/qirc
+INCLUDEPATH         += src src/terminal src/qirc src/backend
 INCFLAGS            += $$system(mkoctfile -p INCFLAGS)
 mac {
     INCFLAGS += -I/opt/local-native/include
@@ -71,7 +71,6 @@
         src/terminal/ShellCommand.cpp \
         src/terminal/QTerminalWidget.cpp \
         src/MainWindow.cpp \
-        src/OctaveLink.cpp \
         src/terminal/ProcessInfo.cpp \
     	  src/OctaveTerminal.cpp \
     	  src/VariablesDockWidget.cpp \
@@ -87,8 +86,9 @@
     src/OctaveGUI.cpp \
     src/ResourceManager.cpp \
     src/CommandLineParser.cpp \
-    src/OctaveMainThread.cpp \
-    src/OctaveCallbackThread.cpp
+    src/backend/OctaveCallbackThread.cpp \
+    src/backend/OctaveLink.cpp \
+    src/backend/OctaveMainThread.cpp
 
 HEADERS += \
         src/terminal/TerminalCharacterDecoder.h \
@@ -117,7 +117,6 @@
         src/terminal/ShellCommand.h \
         src/terminal/QTerminalWidget.h \
     	  src/MainWindow.h \
-        src/OctaveLink.h \
         src/terminal/ProcessInfo.h \
     	  src/OctaveTerminal.h \
     	  src/VariablesDockWidget.h \
@@ -133,8 +132,9 @@
     src/SettingsDialog.h \
     src/ResourceManager.h \
     src/CommandLineParser.h \
-    src/OctaveMainThread.h \
-    src/OctaveCallbackThread.h
+    src/backend/OctaveCallbackThread.h \
+    src/backend/OctaveLink.h \
+    src/backend/OctaveMainThread.h
 
 FORMS += \
     src/SettingsDialog.ui
rename from gui/src/OctaveCallbackThread.cpp
rename to gui/src/backend/OctaveCallbackThread.cpp
--- a/gui/src/OctaveCallbackThread.cpp
+++ b/gui/src/backend/OctaveCallbackThread.cpp
@@ -1,3 +1,21 @@
+/* OctaveGUI - A graphical user interface for Octave
+ * Copyright (C) 2011 Jacob Dawid
+ * jacob.dawid@googlemail.com
+ *
+ * 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 3 of the License, or
+ * (at your option) 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 <http://www.gnu.org/licenses/>.
+ */
+
 #include "OctaveCallbackThread.h"
 #include "MainWindow.h"
 
rename from gui/src/OctaveCallbackThread.h
rename to gui/src/backend/OctaveCallbackThread.h
--- a/gui/src/OctaveCallbackThread.h
+++ b/gui/src/backend/OctaveCallbackThread.h
@@ -1,3 +1,21 @@
+/* OctaveGUI - A graphical user interface for Octave
+ * Copyright (C) 2011 Jacob Dawid
+ * jacob.dawid@googlemail.com
+ *
+ * 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 3 of the License, or
+ * (at your option) 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 <http://www.gnu.org/licenses/>.
+ */
+
 #ifndef OCTAVECALLBACKTHREAD_H
 #define OCTAVECALLBACKTHREAD_H
 
rename from gui/src/OctaveLink.cpp
rename to gui/src/backend/OctaveLink.cpp
rename from gui/src/OctaveLink.h
rename to gui/src/backend/OctaveLink.h
rename from gui/src/OctaveMainThread.cpp
rename to gui/src/backend/OctaveMainThread.cpp
--- a/gui/src/OctaveMainThread.cpp
+++ b/gui/src/backend/OctaveMainThread.cpp
@@ -1,3 +1,21 @@
+/* OctaveGUI - A graphical user interface for Octave
+ * Copyright (C) 2011 Jacob Dawid
+ * jacob.dawid@googlemail.com
+ *
+ * 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 3 of the License, or
+ * (at your option) 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 <http://www.gnu.org/licenses/>.
+ */
+
 #include "OctaveMainThread.h"
 #include "OctaveLink.h"
 
rename from gui/src/OctaveMainThread.h
rename to gui/src/backend/OctaveMainThread.h
--- a/gui/src/OctaveMainThread.h
+++ b/gui/src/backend/OctaveMainThread.h
@@ -1,3 +1,21 @@
+/* OctaveGUI - A graphical user interface for Octave
+ * Copyright (C) 2011 Jacob Dawid
+ * jacob.dawid@googlemail.com
+ *
+ * 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 3 of the License, or
+ * (at your option) 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 <http://www.gnu.org/licenses/>.
+ */
+
 #ifndef OCTAVEMAINTHREAD_H
 #define OCTAVEMAINTHREAD_H