summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordeva <deva>2005-03-25 10:53:57 +0000
committerdeva <deva>2005-03-25 10:53:57 +0000
commit806bf392ddf653b3b6ecefd5971db2520ceb2beb (patch)
tree8e81183b26ceba5086eed17274a60eddb1bcc05c
parentb0fa5c1baac0b2e071f0e7370e81a20f59479084 (diff)
enabled camera
-rw-r--r--src/mainwindow.cc2
-rw-r--r--src/miav.conf4
2 files changed, 5 insertions, 1 deletions
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