libgnome.pp 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. unit libgnome;
  2. {$PACKRECORDS C}
  3. {$mode objfpc}
  4. interface
  5. Uses glib;
  6. {$linklib esd}
  7. {$linklib popt}
  8. {$linklib db1}
  9. const
  10. libgnomedll='gnome';
  11. Type
  12. PPPChar = ^PPChar;
  13. PPPgChar = ^PPgChar;
  14. PPPgfloat = ^PPgfloat;
  15. PPgfloat = ^Pgfloat;
  16. PPpid_t = ^Ppid_t;
  17. Ppid_t = ^pid_t;
  18. pid_t = longint;
  19. PPTime_t = ^PTime_t;
  20. PTime_t = ^Time_t;
  21. Time_t = longint;
  22. Ptm = ^tm;
  23. tm = record
  24. tm_sec : integer;
  25. tm_min : integer;
  26. tm_hour : integer;
  27. tm_mday : integer;
  28. tm_mon : integer;
  29. tm_year : integer;
  30. tm_wday : integer;
  31. tm_yday : integer;
  32. tm_isdst : integer;
  33. tm_gmtoff : Pchar;
  34. tm_zone : Pchar;
  35. end;
  36. var
  37. gnome_user_home_dir : Pchar;cvar;external;
  38. gnome_user_dir : Pchar;cvar;external;
  39. gnome_user_private_dir : Pchar;cvar;external;
  40. gnome_user_accels_dir : Pchar;cvar;external;
  41. gnome_app_id : Pchar;cvar;external;
  42. gnome_do_not_create_directories : char;cvar;external;
  43. {$define read_interface}
  44. {$undef read_implementation}
  45. {$include gnomeutil.inc}
  46. {$include gnomeconfig.inc}
  47. {$include gnomedentry.inc}
  48. {$include gnomeexec.inc}
  49. {$include gnomehelp.inc}
  50. {$include gnomei18n.inc}
  51. {$include gnomemetadata.inc}
  52. {$include gnomemime.inc}
  53. {$include gnomemimeinfo.inc}
  54. {$include gnomepaper.inc}
  55. {.$include gnomepopt.inc}
  56. {$include gnomeremote.inc}
  57. {$include gnomescore.inc}
  58. {$include gnomesound.inc}
  59. {$include gnometriggers.inc}
  60. {$include gnomeurl.inc}
  61. procedure gnomelib_init(app_id:Pchar; app_version:Pchar);cdecl;external;
  62. implementation
  63. {$undef read_interface}
  64. {$define read_implementation}
  65. {$include gnomeutil.inc}
  66. {$include gnomeconfig.inc}
  67. {$include gnomedentry.inc}
  68. {$include gnomeexec.inc}
  69. {$include gnomehelp.inc}
  70. {$include gnomei18n.inc}
  71. {$include gnomemetadata.inc}
  72. {$include gnomemime.inc}
  73. {$include gnomemimeinfo.inc}
  74. {$include gnomepaper.inc}
  75. {.$include gnomepopt.inc}
  76. {$include gnomeremote.inc}
  77. {$include gnomescore.inc}
  78. {$include gnomesound.inc}
  79. {$include gnometriggers.inc}
  80. {$include gnomeurl.inc}
  81. end.