#pragma once #include "JDefines.h" #include "JTerminal.h" namespace Incart::Net::WebSockets { class TerminalCommand { // parsing command line const bool MYDEBUG = false; protected: QList m_commands; public: TerminalCommand() { Common::JT() << __PRETTY_FUNCTION__; } void clear() { m_commands.clear(); } void exe(QString& cmd) { #ifdef OLD_QT_VERSION QStringList lst = cmd.split(";", QString::SkipEmptyParts); #else QStringList lst = cmd.split(";", Qt::SkipEmptyParts); #endif } }; } // namespace Incart::Net::WebSockets