Movie Info: First GObject version
[maevies] / test / mvs-info-provider-test.c
1 /*
2  * mvs-info-provider-test.c
3  *
4  * This file is part of maevies
5  * Copyright (C) 2010 Simón Pena <spenap@gmail.com>
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License as
9  * published by the Free Software Foundation; either version 3 of the
10  * License, or (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful, but
13  * WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * General Public License for more details.
16  *
17  */
18
19 #include <stdio.h>
20 #include <glib.h>
21
22 #include "mvs-minfo-provider.h"
23
24 int
25 main (int argc, char **argv)
26 {
27         MvsMInfoProvider *minfo_provider = NULL;
28
29         g_type_init ();
30
31         g_thread_init (NULL);
32
33         minfo_provider = mvs_minfo_provider_new ();
34
35         mvs_minfo_provider_query (minfo_provider, "A query");
36
37         g_object_unref (minfo_provider);
38         return 0;
39 }