summaryrefslogtreecommitdiffstats
path: root/test/test-gobject.c
blob: e8b14a83b201fa1e0f37269cfedcabf559213671 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <glib-object.h>
#include "uca-camera.h"
#include "uca-mock-camera.h"

int main(int argc, char **argv)
{
    g_type_init();

    gchar **types = uca_camera_get_types();

    for (guint i = 0; i < g_strv_length(types); i++) {
        g_print("Camera: %s\n", types[i]);
    }

    g_strfreev(types);
}