From 8f1692659e2ab3f297937b79168ef357a6843f3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9F=D0=B5=D0=BB=D0=B8=D0=BF=D0=B5=D0=BD=D0=BA=D0=BE=20?= =?UTF-8?q?=D0=98=D0=B2=D0=B0=D0=BD?= Date: Thu, 2 May 2019 22:00:46 +0000 Subject: [PATCH] git-svn-id: svn://db.shs.com.ru/pip@789 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5 --- main.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index fc4f537e..c79d2478 100644 --- a/main.cpp +++ b/main.cpp @@ -1,7 +1,13 @@ #include "pip.h" +PIKbdListener kbd; int main() { - PISystemInfo::machineID(); + //PISystemInfo::machineID(); + kbd.enableExitCapture(); + PIThread t; + t.start(10); + WAIT_FOR_EXIT; + t.stop(); return 0; }