Files
Sourcetrail/src/lib_gui/qt/network/QtIDECommunicationController.h
T
mlangkabel c99e79364f logic: more wstring usages
* 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
2018-01-30 17:07:51 +01:00

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