summaryrefslogtreecommitdiff
path: root/fpcsrc/packages/gnome1/src/libgnome/libgnome.pp
blob: 03b711854b56eb236488ce9cbddb248bdfbcbc01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
unit libgnome;

{$PACKRECORDS C}
{$mode objfpc}

interface

Uses glib;

{$linklib esd}
{$linklib popt}
{$linklib db1}

const
 libgnomedll='gnome';

Type
  PPPgChar = ^PPgChar;
  PPPgfloat = ^PPgfloat;
  PPgfloat = ^Pgfloat;

  PPpid_t = ^Ppid_t;
  Ppid_t = ^pid_t;
  pid_t = longint;

  PPTime_t = ^PTime_t;
  PTime_t = ^Time_t;
  Time_t = longint;

  Ptm = ^tm;
  tm = record
    tm_sec : integer;
    tm_min : integer;
    tm_hour : integer;
    tm_mday : integer;
    tm_mon : integer;
    tm_year : integer;
    tm_wday : integer;
    tm_yday : integer;
    tm_isdst : integer;
    tm_gmtoff : Pchar;
    tm_zone : Pchar;
  end;

var
  gnome_user_home_dir : Pchar;cvar;external;
  gnome_user_dir : Pchar;cvar;external;
  gnome_user_private_dir : Pchar;cvar;external;
  gnome_user_accels_dir : Pchar;cvar;external;
  gnome_app_id : Pchar;cvar;external;
  gnome_do_not_create_directories : char;cvar;external;

{$define read_interface}
{$undef read_implementation}

{$include gnomeutil.inc}
{$include gnomeconfig.inc}
{$include gnomedentry.inc}
{$include gnomeexec.inc}
{$include gnomehelp.inc}
{$include gnomei18n.inc}
{$include gnomemetadata.inc}
{$include gnomemime.inc}
{$include gnomemimeinfo.inc}
{$include gnomepaper.inc}
{.$include gnomepopt.inc}
{$include gnomeremote.inc}
{$include gnomescore.inc}
{$include gnomesound.inc}
{$include gnometriggers.inc}
{$include gnomeurl.inc}

procedure gnomelib_init(app_id:Pchar; app_version:Pchar);cdecl;external;

implementation

{$undef read_interface}
{$define read_implementation}

{$include gnomeutil.inc}
{$include gnomeconfig.inc}
{$include gnomedentry.inc}
{$include gnomeexec.inc}
{$include gnomehelp.inc}
{$include gnomei18n.inc}
{$include gnomemetadata.inc}
{$include gnomemime.inc}
{$include gnomemimeinfo.inc}
{$include gnomepaper.inc}
{.$include gnomepopt.inc}
{$include gnomeremote.inc}
{$include gnomescore.inc}
{$include gnomesound.inc}
{$include gnometriggers.inc}
{$include gnomeurl.inc}

end.