-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Selecting DP file with TV is core dumping!
With the new ability to run koviz without RUNs, koviz was confused when having no runs when connecting a Trick var server. This is a fix due to not testing the tv after all the big changes introduced with the the dynamic run capability.
- Loading branch information
1 parent
d273f46
commit fccb877
Showing
6 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#include "runtv.h" | ||
|
||
RunTV::RunTV(const QString &host_port_path) : | ||
_host_port_path(host_port_path) | ||
{ | ||
} | ||
|
||
QStringList RunTV::params() | ||
{ | ||
return _params; | ||
} | ||
|
||
DataModel *RunTV::dataModel(const QString ¶m) | ||
{ | ||
DataModel* model = 0; | ||
return model; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#ifndef RUNTV_H | ||
#define RUNTV_H | ||
|
||
#include <QString> | ||
#include <QStringList> | ||
#include "run.h" | ||
|
||
// For now, this class is a placeholder that returns empty | ||
|
||
class RunTV : public Run | ||
{ | ||
public: | ||
RunTV(const QString& host_port_path); // e.g. trick://127.0.0.1:4545 | ||
virtual QStringList params(); | ||
virtual DataModel *dataModel(const QString& param); | ||
private: | ||
QString _host_port_path; | ||
DataModel* _model; | ||
QStringList _params; | ||
}; | ||
|
||
#endif // RUNTV_H |