| 1 | #!/usr/bin/perl -w | ||
| 2 | # | ||
| 3 | # Provider.pm | ||
| 4 | # | ||
| 5 | # $Revision: 1.2 $ | ||
| 6 | # | ||
| 7 | # TODO: | ||
| 8 | # | ||
| 9 | # * gda_list_datasources_for_provider() | ||
| 10 | # * Should we really allow new() to clients, since we don't allow | ||
| 11 | # setting attributes? | ||
| 12 | # | ||
| 13 | # Copyright (C) 2001 Gregor N. Purdy. All rights reserved. | ||
| 14 | # | ||
| 15 | # This program is free software. It may be modified and/or | ||
| 16 | # distributed under the same terms as Perl itself. | ||
| 17 | # | ||
| 18 | |||
| 19 | |||
| 20 | use strict; | ||
| 21 | |||
| 22 | package GDA::Provider; | ||
| 23 | |||
| 24 | use GDA; | ||
| 25 | |||
| 26 | use Inline 'C'; | ||
| 27 | |||
| 28 | use Inline 'C' => Config => | ||
| 29 | 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', | ||
| 30 | AUTO_INCLUDE => '#include "gda-config.h"', | ||
| 31 | LIBS => '-lgda-common'; | ||
| 32 | |||
| 33 | sub list { return list_all(@_); } # See comment for 'list_all', below | ||
| 34 | |||
| 35 | 1; | ||
| 36 | |||
| 37 | =head1 NAME | ||
| 38 | |||
| 39 | GDA::Provider - GDA provider Perl bindings | ||
| 40 | |||
| 41 | =head1 SYNOPSIS | ||
| 42 | |||
| 43 | use GDA 'my_app', 'my_ver', 'my_prog'; | ||
| 44 | use GDA::Provider; | ||
| 45 | ... | ||
| 46 | |||
| 47 | =head1 DESCRIPTION | ||
| 48 | |||
| 49 | TODO | ||
| 50 | |||
| 51 | =head1 AUTHOR | ||
| 52 | |||
| 53 | Gregor N. Purdy E<lt>gregor@focusresearch.comE<gt> | ||
| 54 | |||
| 55 | =head1 LICENSE | ||
| 56 | |||
| 57 | This program is free software. It may be modified and/or | ||
| 58 | distributed under the same terms as Perl itself. | ||
| 59 | |||
| 60 | =head1 COPYRIGHT | ||
| 61 | |||
| 62 | Copyright (C) 2001 Gregor N. Purdy. All rights reserved. | ||
| 63 | |||
| 64 | =cut | ||
| 65 | |||
| 66 | __DATA__ |