Skip to content

Commit

Permalink
Highlight oms:TlmMaster keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
adeas31 committed Nov 28, 2018
1 parent 2a71c2e commit b753795
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion OMEdit/OMEditGUI/Editors/OMSimulatorEditor.cpp
Expand Up @@ -239,7 +239,7 @@ void OMSimulatorHighlighter::initializeSettings()
<< "\\bssd:SimulationInformation\\b"
<< "\\bssd:Annotations\\b"
<< "\\bssd:Annotation\\b"
<< "\\btlm:Master\\b"
<< "\\boms:TlmMaster\\b"
<< "\\bssd:Elements\\b"
<< "\\boms:Bus\\b"
<< "\\boms:Signals\\b"
Expand Down
26 changes: 13 additions & 13 deletions OMEdit/OMEditGUI/OMS/OMSProxy.cpp
Expand Up @@ -1114,19 +1114,6 @@ bool OMSProxy::setElementGeometry(QString cref, const ssd_element_geometry_t* pG
return statusToBool(status);
}

/*!
* \brief OMSProxy::setLoggingCallback
* Sets the logging callback.
*/
void OMSProxy::setLoggingCallback()
{
QString command = "oms3_setLoggingCallback";
QStringList args;
LOG_COMMAND(command, args);
oms3_setLoggingCallback(loggingCallback);
logResponse(command, oms_status_ok, &commandTime);
}

/*!
* \brief OMSProxy::setLogFile
* Sets the log file.
Expand All @@ -1142,6 +1129,19 @@ void OMSProxy::setLogFile(QString filename)
logResponse(command, status, &commandTime);
}

/*!
* \brief OMSProxy::setLoggingCallback
* Sets the logging callback.
*/
void OMSProxy::setLoggingCallback()
{
QString command = "oms3_setLoggingCallback";
QStringList args;
LOG_COMMAND(command, args);
oms3_setLoggingCallback(loggingCallback);
logResponse(command, oms_status_ok, &commandTime);
}

/*!
* \brief OMSProxy::setLoggingInterval
* Sets the logging interval.
Expand Down
2 changes: 1 addition & 1 deletion OMEdit/OMEditGUI/OMS/OMSProxy.h
Expand Up @@ -114,8 +114,8 @@ class OMSProxy : public QObject
bool setConnectorGeometry(QString cref, const ssd_connector_geometry_t* pGeometry);
bool setFixedStepSize(QString cref, double stepSize);
bool setElementGeometry(QString cref, const ssd_element_geometry_t* pGeometry);
void setLoggingCallback();
void setLogFile(QString filename);
void setLoggingCallback();
bool setLoggingInterval(QString cref, double loggingInterval);
void setLoggingLevel(int logLevel);
bool setInteger(QString signal, int value);
Expand Down

0 comments on commit b753795

Please sign in to comment.