From b2213e15e6d03d918ae15d6d42ab6dc754d1b300 Mon Sep 17 00:00:00 2001 From: chrisparker126 Date: Tue, 27 Apr 2010 12:30:46 +0000 Subject: [PATCH] new idle status feature added git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2800 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/RetroShare.pro | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/retroshare-gui/src/RetroShare.pro b/retroshare-gui/src/RetroShare.pro index c6cf6c159..6743043c9 100644 --- a/retroshare-gui/src/RetroShare.pro +++ b/retroshare-gui/src/RetroShare.pro @@ -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 TEMPLATE = app @@ -20,7 +20,8 @@ linux-* { #CONFIG += version_detail_bash_script QMAKE_CXXFLAGS *= -D_FILE_OFFSET_BITS=64 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++ { @@ -100,6 +101,7 @@ macx { LIBS += ../../../miniupnpc-1.0/libminiupnpc.a INCLUDEPATH += . + #DEFINES* = MAC_IDLE # for idle feature } @@ -555,6 +557,7 @@ HEADERS += gui/unfinished/ApplicationWindow.h \ gui/unfinished/PhotoDialog.h \ gui/unfinished/PhotoShow.h \ gui/unfinished/StatisticDialog.h + FORMS += gui/unfinished/ApplicationWindow.ui \ gui/unfinished/CalDialog.ui \ @@ -575,4 +578,13 @@ SOURCES += gui/unfinished/ApplicationWindow.cpp \ DEFINES *= UNFINISHED } +idle { + +HEADERS += idle/idle.h + +SOURCES += idle/idle.cpp \ + idle/idle_platform.cpp + +} +