~ubuntu-branches/debian/lenny/fpc/lenny

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Mazen Neifer, Torsten Werner, Mazen Neifer
  • Date: 2008-05-17 17:12:11 UTC
  • mfrom: (3.1.9 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080517171211-9qi33xhd9evfa0kg
Tags: 2.2.0-dfsg1-9
[ Torsten Werner ]
* Add Mazen Neifer to Uploaders field.

[ Mazen Neifer ]
* Moved FPC sources into a version dependent directory from /usr/share/fpcsrc
  to /usr/share/fpcsrc/${FPCVERSION}. This allow installing more than on FPC
  release.
* Fixed far call issue in compiler preventing building huge binearies.
  (closes: #477743)
* Updated building dependencies, recomennded and suggested packages.
* Moved fppkg to fp-utils as it is just a helper tool and is not required by
  compiler.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
{$IFDEF read_forward_definitions}
 
3
{$ENDIF}
 
4
 
 
5
{$IFDEF read_interface_types}
 
6
type
 
7
   PGtkFileChooserDialogPrivate = pointer;
 
8
   PPGtkFileChooserDialogPrivate = ^PGtkFileChooserDialogPrivate;
 
9
 
 
10
   PGtkFileChooserIface = ^TGtkFileChooserIface;
 
11
   TGtkFileChooserIface = record
 
12
        base_iface : TGTypeInterface;
 
13
        { Methods }
 
14
        set_current_folder : function (chooser:PGtkFileChooser; path:PGtkFilePath; error:PPGError):gboolean;cdecl;
 
15
        get_current_folder : function (chooser:PGtkFileChooser):PGtkFilePath;
 
16
        set_current_name : procedure (chooser:PGtkFileChooser; name:Pgchar);
 
17
        select_path : function (chooser:PGtkFileChooser; path:PGtkFilePath; error:PPGError):gboolean;
 
18
        unselect_path : procedure (chooser:PGtkFileChooser; path:PGtkFilePath);
 
19
        select_all : procedure (chooser:PGtkFileChooser);
 
20
        unselect_all : procedure (chooser:PGtkFileChooser);
 
21
        get_paths : function (chooser:PGtkFileChooser):PGSList;
 
22
        get_preview_path : function (chooser:PGtkFileChooser):PGtkFilePath;
 
23
        get_file_system : function (chooser:PGtkFileChooser):PGtkFileSystem;
 
24
        add_filter : procedure (chooser:PGtkFileChooser; filter:PGtkFileFilter);
 
25
        remove_filter : procedure (chooser:PGtkFileChooser; filter:PGtkFileFilter);
 
26
        list_filters : function (chooser:PGtkFileChooser):PGSList;
 
27
        add_shortcut_folder : function (chooser:PGtkFileChooser; path:PGtkFilePath; error:PPGError):gboolean;
 
28
        remove_shortcut_folder : function (chooser:PGtkFileChooser; path:PGtkFilePath; error:PPGError):gboolean;
 
29
        list_shortcut_folders : function (chooser:PGtkFileChooser):PGSList;
 
30
 
 
31
        { Signals }
 
32
        current_folder_changed : procedure (chooser:PGtkFileChooser);
 
33
        selection_changed : procedure (chooser:PGtkFileChooser);
 
34
        update_preview : procedure (chooser:PGtkFileChooser);
 
35
        file_activated : procedure (chooser:PGtkFileChooser);
 
36
     end;
 
37
 
 
38
{$ENDIF} {types}
 
39
 
 
40
{$IFDEF read_interface_rest}
 
41
 
 
42
 
 
43
(* Geraten: *)
 
44
function GTK_FILE_CHOOSER_GET_IFACE(inst : PGTypeInstance) :    PGtkFileChooserIface;
 
45
 
 
46
 
 
47
 
 
48
function _gtk_file_chooser_get_file_system(chooser:PGtkFileChooser):PGtkFileSystem;cdecl;external gtklib name '_gtk_file_chooser_get_file_system';
 
49
 
 
50
function _gtk_file_chooser_set_current_folder_path(chooser:PGtkFileChooser; path:PGtkFilePath; error:PPGError):gboolean;cdecl;external gtklib name '_gtk_file_chooser_set_current_folder_path';
 
51
function _gtk_file_chooser_get_current_folder_path(chooser:PGtkFileChooser):PGtkFilePath;cdecl;external gtklib name '_gtk_file_chooser_get_current_folder_path';
 
52
 
 
53
function _gtk_file_chooser_select_path(chooser:PGtkFileChooser; path:PGtkFilePath; error:PPGError):gboolean;cdecl;external gtklib name '_gtk_file_chooser_select_path';
 
54
procedure _gtk_file_chooser_unselect_path(chooser:PGtkFileChooser; path:PGtkFilePath);cdecl;external gtklib name '_gtk_file_chooser_unselect_path';
 
55
 
 
56
function _gtk_file_chooser_get_paths(chooser:PGtkFileChooser):PGSList;cdecl;external gtklib name '_gtk_file_chooser_get_paths';
 
57
function _gtk_file_chooser_get_preview_path(chooser:PGtkFileChooser):PGtkFilePath;cdecl;external gtklib name '_gtk_file_chooser_get_preview_path';
 
58
 
 
59
function _gtk_file_chooser_add_shortcut_folder(chooser:PGtkFileChooser; path:PGtkFilePath; error:PPGError):gboolean;cdecl;external gtklib name '_gtk_file_chooser_add_shortcut_folder';
 
60
function _gtk_file_chooser_remove_shortcut_folder(chooser:PGtkFileChooser; path:PGtkFilePath; error:PPGError):gboolean;cdecl;external gtklib name '_gtk_file_chooser_remove_shortcut_folder';
 
61
 
 
62
{$endif} {interface_rest}
 
63
 
 
64
{************************************************}
 
65
 
 
66
{$IFDEF read_implementation}
 
67
 
 
68
 
 
69
function GTK_FILE_CHOOSER_GET_IFACE(inst : PGTypeInstance) :    PGtkFileChooserIface;
 
70
 
 
71
begin
 
72
   GTK_FILE_CHOOSER_GET_IFACE:=G_TYPE_INSTANCE_GET_INTERFACE(inst,GTK_TYPE_FILE_CHOOSER);
 
73
end;
 
74
 
 
75
{$ENDIF} {read_implementation}