Mercurial > octave-nkf
comparison gui/src/backend/OctaveLink.h @ 14668:6a6733a55982 gui
Removed unused classes and added octave loop hook.
* OctaveGUI.cpp: Removed header for command line parsing and command line parser.
* WorkspaceModel: Optimized updated the model from the symbol table by passing pointers instead of copying.
* OctaveLink: Removed polling thread.
* src.pro: Removed deleted files.
* OctaveCallbackThread: Not used anymore, hence removed.
* CommandLineParser: Not used anymore, hence removed.
* ReadlineAdapter: Not used anymore, hence removed.
author | Jacob Dawid <jacob.dawid@googlemail.com> |
---|---|
date | Tue, 22 May 2012 09:13:46 +0200 |
parents | 664f54233c98 |
children | f346343654a4 |
comparison
equal
deleted
inserted
replaced
14664:664f54233c98 | 14668:6a6733a55982 |
---|---|
71 #include <QSemaphore> | 71 #include <QSemaphore> |
72 #include <QObject> | 72 #include <QObject> |
73 #include <QStringListModel> | 73 #include <QStringListModel> |
74 | 74 |
75 #include "WorkspaceModel.h" | 75 #include "WorkspaceModel.h" |
76 #include "OctaveCallbackThread.h" | |
77 #include "OctaveMainThread.h" | 76 #include "OctaveMainThread.h" |
78 | 77 |
79 /** | 78 /** |
80 * \class OctaveLink | 79 * \class OctaveLink |
81 * Manages a link to an octave instance. | 80 * Manages a link to an octave instance. |
100 | 99 |
101 private: | 100 private: |
102 OctaveLink (); | 101 OctaveLink (); |
103 ~OctaveLink (); | 102 ~OctaveLink (); |
104 | 103 |
105 //QSemaphore * m_symbolTableSemaphore; | |
106 //QList < symbol_table::symbol_record > m_symbolTableBuffer; | |
107 | |
108 QStringListModel *m_historyModel; | 104 QStringListModel *m_historyModel; |
109 WorkspaceModel *m_workspaceModel; | 105 WorkspaceModel *m_workspaceModel; |
110 | 106 |
111 // Threads for running octave and managing the data interaction. | 107 // Threads for running octave and managing the data interaction. |
112 OctaveMainThread *m_octaveMainThread; | 108 OctaveMainThread *m_octaveMainThread; |
113 OctaveCallbackThread *m_octaveCallbackThread; | |
114 | 109 |
115 static OctaveLink m_singleton; | 110 static OctaveLink m_singleton; |
116 }; | 111 }; |
117 #endif // OCTAVELINK_H | 112 #endif // OCTAVELINK_H |