From bb033a38a70ebdbf57ab443f8919e1831c15eb7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Canek=20Pel=C3=A1ez=20Vald=C3=A9s?= Date: Sun, 3 May 2020 04:29:35 -0500 Subject: [PATCH] ApplicationMain: Remove test code. --- src/application-main.vala | 38 -------------------------------------- 1 file changed, 38 deletions(-) diff --git a/src/application-main.vala b/src/application-main.vala index 2273fa2..dd4978c 100644 --- a/src/application-main.vala +++ b/src/application-main.vala @@ -34,44 +34,6 @@ namespace Queso { GLib.Intl.textdomain(Config.GETTEXT_PACKAGE); GLib.Environment.set_application_name("Queso"); - // var v4lmgr = new V4LControlManager("/dev/video0"); - // for (int i = 0; i < v4lmgr.get_size(); i++) { - // unowned V4LControl v4lctrl = v4lmgr.nth_control(i); - // stderr.printf("%s:\n", v4lctrl.get_name()); - // stderr.printf("\tType: %s\n", - // v4lctrl.get_type().to_string()); - // stderr.printf("\tMinimum: %" + int64.FORMAT + "\n", - // v4lctrl.get_minimum()); - // stderr.printf("\tMaximum: %" + int64.FORMAT + "\n", - // v4lctrl.get_maximum()); - // stderr.printf("\tStep: %" + uint64.FORMAT + "\n", - // v4lctrl.get_step()); - // stderr.printf("\tDefault: %" + int64.FORMAT + "\n", - // v4lctrl.get_default_value()); - // if (v4lctrl.get_type() == V4LControlType.MENU) { - // for (int j = 0; j < v4lctrl.get_menu_size(); j++) { - // unowned V4LControlMenuItem mi; - // mi = v4lctrl.nth_menu_item(j); - // if (mi.is_disabled()) - // continue; - // stderr.printf("\t\tMenu item %u: %s\n", - // mi.get_index(), - // mi.get_name()); - // } - // } - // if (v4lctrl.get_type() == V4LControlType.INT_MENU) { - // for (int j = 0; j < v4lctrl.get_menu_size(); j++) { - // unowned V4LControlMenuItem mi; - // mi = v4lctrl.nth_menu_item(j); - // if (mi.is_disabled()) - // continue; - // stderr.printf("\t\tMenu item %u: %s\n", - // mi.get_index(), - // mi.get_name()); - // } - // } - // } - var app = new Application(); return app.run(args); } -- GitLab