new idle status feature added

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2800 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
chrisparker126 2010-04-27 12:30:46 +00:00
parent aef6787517
commit b2213e15e6

View File

@ -1,4 +1,4 @@
CONFIG += qt gui uic qrc resources uitools newsettings CONFIG += qt gui uic qrc resources uitools newsettings idle
QT += network xml script opengl QT += network xml script opengl
TEMPLATE = app TEMPLATE = app
@ -20,7 +20,8 @@ linux-* {
#CONFIG += version_detail_bash_script #CONFIG += version_detail_bash_script
QMAKE_CXXFLAGS *= -D_FILE_OFFSET_BITS=64 QMAKE_CXXFLAGS *= -D_FILE_OFFSET_BITS=64
LIBS += ../../libretroshare/src/lib/libretroshare.a LIBS += ../../libretroshare/src/lib/libretroshare.a
LIBS += -lssl -lgpgme -lupnp LIBS += -lssl -lgpgme -lupnp -lXss
DEFINES *= HAVE_XSS # for idle time, libx screensaver extensions
} }
linux-g++ { linux-g++ {
@ -100,6 +101,7 @@ macx {
LIBS += ../../../miniupnpc-1.0/libminiupnpc.a LIBS += ../../../miniupnpc-1.0/libminiupnpc.a
INCLUDEPATH += . INCLUDEPATH += .
#DEFINES* = MAC_IDLE # for idle feature
} }
@ -556,6 +558,7 @@ HEADERS += gui/unfinished/ApplicationWindow.h \
gui/unfinished/PhotoShow.h \ gui/unfinished/PhotoShow.h \
gui/unfinished/StatisticDialog.h gui/unfinished/StatisticDialog.h
FORMS += gui/unfinished/ApplicationWindow.ui \ FORMS += gui/unfinished/ApplicationWindow.ui \
gui/unfinished/CalDialog.ui \ gui/unfinished/CalDialog.ui \
gui/unfinished/ExampleDialog.ui \ gui/unfinished/ExampleDialog.ui \
@ -575,4 +578,13 @@ SOURCES += gui/unfinished/ApplicationWindow.cpp \
DEFINES *= UNFINISHED DEFINES *= UNFINISHED
} }
idle {
HEADERS += idle/idle.h
SOURCES += idle/idle.cpp \
idle/idle_platform.cpp
}