##// END OF EJS Templates
Added bool loadfile(abstractBinFile* file)...
Added bool loadfile(abstractBinFile* file) and bool dumpMemory(unsigned int address, unsigned int count, QString file, const QString &format); to the genericPySysDriver, now all plugins can load an abstract binary file(bin/srec/elf) and they can dump any memory space to either an srec or a binary file. This function are able to deal with file and host endianness. Functions: -bool dumpMemory(unsigned int address,unsigned int count,QString file); -bool memSet(unsigned int address,int value, unsigned int count); -bool loadbin(unsigned int address,QString file); are moved to socexplorerplugin which makes them available from C++.

File last commit:

r0:1aa783210b8e default
r71:c4b98d42ee59 default
Show More
tcp_terminal_client.h
31 lines | 605 B | text/x-c | CLexer
/ src / common / tcp_terminal_client.h
#ifndef TCP_TERMINAL_CLIENT_H
#define TCP_TERMINAL_CLIENT_H
#include <QObject>
#include <QTcpSocket>
#include <QProcess>
#include <QThread>
#include <QMutex>
class TCP_Terminal_Client : public QObject
{
Q_OBJECT
public:
explicit TCP_Terminal_Client(QObject *parent = 0);
void connectToServer(const QString& IP,int port);
void connectToServer();
bool isConnected();
void sendText(const QString& text);
void startServer();
void startServer(int port);
signals:
public slots:
private:
QTcpSocket* soc;
QProcess* ServerProc;
};
#endif // TCP_TERMINAL_CLIENT_H