| 1 | #!/usr/bin/perl -w | ||
| 2 | # | ||
| 3 | # Config.pm | ||
| 4 | # | ||
| 5 | # $Revision: 1.2 $ | ||
| 6 | # | ||
| 7 | # Copyright (C) 2001 Gregor N. Purdy. All rights reserved. | ||
| 8 | # | ||
| 9 | # This program is free software. It may be modified and/or | ||
| 10 | # distributed under the same terms as Perl itself. | ||
| 11 | # | ||
| 12 | |||
| 13 | use strict; | ||
| 14 | |||
| 15 | |||
| 16 | package GDA::Config; | ||
| 17 | |||
| 18 | use GDA; | ||
| 19 | |||
| 20 | use Inline 'C'; | ||
| 21 | |||
| 22 | use Inline 'C' => Config => | ||
| 23 | INC => '-I/usr/include/gda -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 -I/usr/include/gnome-xml', | ||
| 24 | AUTO_INCLUDE => '#include "gda-config.h"', | ||
| 25 | LIBS => '-lgda-common'; | ||
| 26 | |||
| 27 | |||
| 28 | 1; | ||
| 29 | |||
| 30 | =head1 NAME | ||
| 31 | |||
| 32 | GDA::Config - GDA configuration database access Perl bindings | ||
| 33 | |||
| 34 | =head1 SYNOPSIS | ||
| 35 | |||
| 36 | use GDA 'my_app', 'my_ver', 'my_prog'; | ||
| 37 | use GDA::Config; | ||
| 38 | ... | ||
| 39 | |||
| 40 | =head1 DESCRIPTION | ||
| 41 | |||
| 42 | TODO | ||
| 43 | |||
| 44 | =head1 AUTHOR | ||
| 45 | |||
| 46 | Gregor N. Purdy E<lt>gregor@focusresearch.comE<gt> | ||
| 47 | |||
| 48 | =head1 LICENSE | ||
| 49 | |||
| 50 | This program is free software. It may be modified and/or | ||
| 51 | distributed under the same terms as Perl itself. | ||
| 52 | |||
| 53 | =head1 COPYRIGHT | ||
| 54 | |||
| 55 | Copyright (C) 2001 Gregor N. Purdy. All rights reserved. | ||
| 56 | |||
| 57 | =cut | ||
| 58 | |||
| 59 | __DATA__ |