]> Dogcows Code - chaz/openbox/blob - obt/tests/linktest.c
add some tests for obt pieces (binary search, .desktop parsking, linkbase, and inotif...
[chaz/openbox] / obt / tests / linktest.c
1 #/*
2 #!/bin/sh
3 #*/
4 #if 0
5 gcc -O0 -o ./linktest `pkg-config --cflags --libs obt-3.5` linktest.c && \
6 ./linktest
7 exit
8 #endif
9
10 /* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*-
11
12 linktest.c for the Openbox window manager
13 Copyright (c) 2010 Dana Jansens
14
15 This program is free software; you can redistribute it and/or modify
16 it under the terms of the GNU General Public License as published by
17 the Free Software Foundation; either version 2 of the License, or
18 (at your option) any later version.
19
20 This program is distributed in the hope that it will be useful,
21 but WITHOUT ANY WARRANTY; without even the implied warranty of
22 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 GNU General Public License for more details.
24
25 See the COPYING file for a copy of the GNU General Public License.
26 */
27
28 #include "obt/linkbase.h"
29 #include "obt/paths.h"
30 #include <glib.h>
31 #include <locale.h>
32
33 gint main()
34 {
35 ObtLinkBase *base;
36 ObtPaths *paths;
37 GMainLoop *loop;
38
39 paths = obt_paths_new();
40 base = obt_linkbase_new(paths, setlocale(LC_MESSAGES, ""));
41 printf("done\n");
42 return 0;
43
44 loop = g_main_loop_new(NULL, FALSE);
45 g_main_loop_run(loop);
46
47 return 0;
48 }
This page took 0.032087 seconds and 4 git commands to generate.