Diffstat (limited to 'noncore/net/opietooth/blue-pin/main.cc') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/blue-pin/main.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/noncore/net/opietooth/blue-pin/main.cc b/noncore/net/opietooth/blue-pin/main.cc index 1b7daec..aa360aa 100644 --- a/noncore/net/opietooth/blue-pin/main.cc +++ b/noncore/net/opietooth/blue-pin/main.cc @@ -1,39 +1,38 @@ #include <stdio.h> #include <stdlib.h> #include <qpe/qpeapplication.h> -#include <qpe/config.h> #include "pindlg.h" int main( int argc, char* argv[] ) { if (argc < 2 ) { printf("ERR\n"); exit(0); } QCString dir(argv[1] ); QCString bdaddr( argv[2] ); QCString name; if ( argc > 3 ) { name = argv[3]; } QPEApplication a(argc, argv ); QString status; if (dir == "out" ) { status = QObject::tr("Outgoing connection to "); }else status = QObject::tr("Incoming connection from "); status += name; status += "<br>"; status += "[" + bdaddr + "]"; OpieTooth::PinDlg dlg( status, bdaddr ); if ( dlg.exec() ) { printf("PIN:%s\n", dlg.pin().stripWhiteSpace().latin1() ); }else printf("ERR\n"); return 0; } |