~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to app/base/tile-swap.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-05-02 16:33:03 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070502163303-bvzhjzbpw8qglc4y
Tags: 2.3.16-1ubuntu1
* Resynchronized with Debian, remaining Ubuntu changes:
  - debian/rules: i18n magic.
* debian/control.in:
  - Maintainer: Ubuntu Core Developers <ubuntu-devel@lists.ubuntu.com>
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch,
  debian/patches/10_dont_show_wizard.patch: updated.
* debian/patches/04_composite-signedness.patch,
  debian/patches/05_add-letter-spacing.patch: dropped, used upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* The GIMP -- an image manipulation program
 
1
/* GIMP - The GNU Image Manipulation Program
2
2
 * Copyright (C) 1995 Spencer Kimball and Peter Mattis
3
3
 *
4
4
 * This program is free software; you can redistribute it and/or modify
23
23
typedef enum
24
24
{
25
25
  SWAP_IN = 1,
26
 
  SWAP_IN_ASYNC,
27
26
  SWAP_OUT,
28
 
  SWAP_DELETE,
29
 
  SWAP_COMPRESS
 
27
  SWAP_DELETE
30
28
} SwapCommand;
31
29
 
32
30
 
33
 
typedef gint (* SwapFunc) (gint      fd,
34
 
                           Tile     *tile,
35
 
                           gint      cmd,
36
 
                           gpointer  user_data);
37
 
 
38
 
 
 
31
typedef gint (* SwapFunc) (gint         fd,
 
32
                           Tile        *tile,
 
33
                           SwapCommand  cmd,
 
34
                           gpointer     user_data);
 
35
 
 
36
 
 
37
void     tile_swap_init     (const gchar *path);
39
38
void     tile_swap_exit     (void);
40
 
gint     tile_swap_add      (gchar     *filename,
41
 
                             SwapFunc   swap_func,
42
 
                             gpointer   user_data);
43
 
void     tile_swap_remove   (gint       swap_num);
44
 
void     tile_swap_in       (Tile      *tile);
45
 
void     tile_swap_in_async (Tile      *tile);
46
 
void     tile_swap_out      (Tile      *tile);
47
 
void     tile_swap_delete   (Tile      *tile);
48
 
void     tile_swap_compress (gint       swap_num);
 
39
gint     tile_swap_add      (gchar       *filename,
 
40
                             SwapFunc     swap_func,
 
41
                             gpointer     user_data);
 
42
void     tile_swap_remove   (gint         swap_num);
 
43
void     tile_swap_in       (Tile        *tile);
 
44
void     tile_swap_out      (Tile        *tile);
 
45
void     tile_swap_delete   (Tile        *tile);
49
46
gboolean tile_swap_test     (void);
50
47
 
51
48