From 806bf392ddf653b3b6ecefd5971db2520ceb2beb Mon Sep 17 00:00:00 2001 From: deva Date: Fri, 25 Mar 2005 10:53:57 +0000 Subject: enabled camera --- src/mainwindow.cc | 2 +- src/miav.conf | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/mainwindow.cc b/src/mainwindow.cc index 2abfbc8..b26d6ce 100644 --- a/src/mainwindow.cc +++ b/src/mainwindow.cc @@ -90,7 +90,7 @@ MainWindow::MainWindow( QWidget* parent, const char* name ) createGui(); show(); - // camera = new Camera("192.168.0.10", 30000); + camera = new Camera(cfg.readString("server_addr")->c_str(), cfg.readInt("server_port")); recording = false; frozen = false; diff --git a/src/miav.conf b/src/miav.conf index 214755f..f1e36b5 100644 --- a/src/miav.conf +++ b/src/miav.conf @@ -10,3 +10,7 @@ cpr_port = 10301 screensize = 19.0 pixel_width = 1024 pixel_height = 768 + +# How and where to connect to the miav server? +server_addr = "192.168.0.10" +server_port = 30000 \ No newline at end of file -- cgit v1.2.3