~ubuntu-branches/ubuntu/lucid/fpc/lucid-proposed

« back to all changes in this revision

Viewing changes to fpcsrc/packages/extra/gtk2/gtk+/gtk/gtkimmodule.inc

  • Committer: Bazaar Package Importer
  • Author(s): Mazen Neifer, Torsten Werner, Mazen Neifer
  • Date: 2008-10-09 23:29:00 UTC
  • mfrom: (4.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20081009232900-553f61m37jkp6upv
Tags: 2.2.2-4
[ Torsten Werner ]
* Update ABI version in fpc-depends automatically.
* Remove empty directories from binary package fpc-source.

[ Mazen Neifer ]
* Removed leading path when calling update-alternatives to remove a Linitian
  error.
* Fixed clean target.
* Improved description of packages. (Closes: #498882)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
{ Pointers to basic pascal types, inserted by h2pas conversion program.}
2
 
Type
3
 
  PLongint  = ^Longint;
4
 
  PSmallInt = ^SmallInt;
5
 
  PByte     = ^Byte;
6
 
  PWord     = ^Word;
7
 
  PDWord    = ^DWord;
8
 
  PDouble   = ^Double;
9
 
 
10
 
{$PACKRECORDS C}
11
 
 
12
 
{ GTK - The GIMP Toolkit
13
 
   Copyright (C) 2000 Red Hat Software
14
 
 
15
 
   This library is free software; you can redistribute it and/or
16
 
   modify it under the terms of the GNU Lesser General Public
17
 
   License as published by the Free Software Foundation; either
18
 
   version 2 of the License, or (at your option) any later version.
19
 
 
20
 
   This library 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 GNU
23
 
   Lesser General Public License for more details.
24
 
 
25
 
   You should have received a copy of the GNU Lesser General Public
26
 
   License along with this library; if not, write to the
27
 
   Free Software Foundation, Inc., 59 Temple Place - Suite 330,
28
 
   Boston, MA 02111-1307, USA.
29
 
  }
30
 
{$ifndef __GTK_IM_MODULE_H__}
31
 
{$define __GTK_IM_MODULE_H__}
32
 
{ C++ extern C conditionnal removed }
33
 
{ __cplusplus  }
34
 
{$include gtkimcontext.inc}
35
 
type
36
 
 
37
 
 
38
 
 
39
 
 
40
 
 
41
 
   PGtkIMContextInfo = ^TGtkIMContextInfo;
42
 
   TGtkIMContextInfo = record
43
 
        context_id : Pgchar;
44
 
        context_name : Pgchar;
45
 
        domain : Pgchar;
46
 
        domain_dirname : Pgchar;
47
 
        default_locales : Pgchar;
48
 
     end;
49
 
 
50
 
{ Functions for use within GTK+
51
 
  }
52
 
 
53
 
 
54
 
procedure _gtk_im_module_list(contexts:PPPGtkIMContextInfo; n_contexts:Pguint); cdecl; external gtklib;
55
 
 
56
 
function _gtk_im_module_create(context_id:Pgchar):PGtkIMContext; cdecl; external gtklib;
57
 
 
58
 
 
59
 
function _gtk_im_module_get_default_context_id(lang:Pgchar):Pgchar; cdecl; external gtklib;
60
 
{ The following entry points are exported by each input method module
61
 
  }
62
 
{
63
 
void          im_module_list   (const GtkIMContextInfo    contexts,
64
 
                                guint                     n_contexts);
65
 
void          im_module_init   (GtkModule              module);
66
 
void          im_module_exit   (void);
67
 
GtkIMContext  im_module_create (const gchar              context_id);
68
 
 }
69
 
{ C++ end of extern C conditionnal removed }
70
 
{ __cplusplus  }
71
 
{$endif}
72
 
{ __GTK_IM_MODULE_H__  }
73