* removed header paths from VS Project setup message since VS doesn't send these anymore * implemented using wstring in IDE communication * fixed retrieving filepaths from QtDirectoryListbox that contain special characters * use wstring for source extensions * added special character as file extension to FileManagerTestSuite
34 lines
737 B
C++
34 lines
737 B
C++
#ifndef QT_IDE_COMMUNICATION_CONTROLLER
|
|
#define QT_IDE_COMMUNICATION_CONTROLLER
|
|
|
|
#include <qobject.h>
|
|
|
|
#include "QtTcpWrapper.h"
|
|
|
|
#include "component/controller/IDECommunicationController.h"
|
|
#include "qt/utility/QtThreadedFunctor.h"
|
|
|
|
class StorageAccess;
|
|
|
|
class QtIDECommunicationController
|
|
: public IDECommunicationController
|
|
{
|
|
public:
|
|
QtIDECommunicationController(QObject* parent, StorageAccess* storageAccess);
|
|
~QtIDECommunicationController();
|
|
|
|
virtual void startListening();
|
|
virtual void stopListening();
|
|
|
|
virtual bool isListening() const;
|
|
|
|
private:
|
|
virtual void sendMessage(const std::wstring& message) const;
|
|
|
|
QtTcpWrapper m_tcpWrapper;
|
|
|
|
QtThreadedLambdaFunctor m_onQtThread;
|
|
};
|
|
|
|
#endif // QT_IDE_COMMUNICATION_CONTROLLER
|