8 #include <QLocalSocket>
10 #include <QAbstractSocket>
13 #define LOCAL_SERVER_NAME "PGEEngine42e3j"
24 void writeMessage(QString msg);
25 void stateChanged(QAbstractSocket::SocketState stat);
27 void messageIn(QString msg);
31 void handleNewConnection();
32 void clientDisconnected();
33 void displayError(QAbstractSocket::SocketError socketError);
36 QTcpSocket *clientConnection;
51 QString accepted_lvl_path;
52 bool do_acceptLevelData;
53 QString accepted_lvl_raw;
54 bool do_parseLevelData;
57 bool sendToEditor(QString command);
67 void sendMessage(QString msg);
71 void openFile(QString path);
74 void slotOnData(QString data);
75 void icomingData(QString in);
82 #endif // EDITOR_PIPE_H
~EditorPipe()
EditorPipe::~LocalServer Destructor.
Definition: editor_pipe.cpp:121
Definition: editor_pipe.h:17
Level data structure. Contains all available settings and element lists on the level.
Definition: lvl_filedata.h:396
void run()
run Initiate the thread.
Definition: editor_pipe.cpp:175
Definition: editor_pipe.h:41
void exec()
EditorPipe::exec Keeps the thread alive. Waits for incomming connections.
Definition: editor_pipe.cpp:191
EditorPipe()
EditorPipe::LocalServer Constructor.
Definition: editor_pipe.cpp:88