Added the thread safe TSQueue and using it in mainwindow to replace the adhoc queue implementation.

This commit is contained in:
Eelke Klein 2017-01-03 07:22:36 +01:00
parent c551d982c6
commit 83064ab86b
10 changed files with 253 additions and 27 deletions

View file

@ -12,7 +12,7 @@ TARGET = Ivory
TEMPLATE = app
INCLUDEPATH += C:\prog\include
DEFINES += WIN32_LEAN_AND_MEAN
LIBS += c:\prog\lib\libpq.lib
SOURCES += main.cpp\
@ -24,7 +24,10 @@ SOURCES += main.cpp\
sqlhighlighter.cpp \
jsoncpp.cpp \
queryexplainmodel.cpp \
explaintreemodelitem.cpp
explaintreemodelitem.cpp \
asyncdbconnection.cpp \
tsqueue.cpp \
win32event.cpp
HEADERS += mainwindow.h \
serverproperties.h \
@ -33,7 +36,10 @@ HEADERS += mainwindow.h \
queryresultmodel.h \
sqlhighlighter.h \
queryexplainmodel.h \
explaintreemodelitem.h
explaintreemodelitem.h \
asyncdbconnection.h \
tsqueue.h \
win32event.h
FORMS += mainwindow.ui \
serverproperties.ui