This file is indexed.

/usr/include/clutter-gesture/clutter-gesture.h is in libcluttergesture-dev 0.0.2.1-7.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
/***
 *  This file is part of Clutter-Gesture.
 *
 *  Copyright 2009 (c) Intel Corp.
 *  Author: Long Bu    (long.bu@intel.com)
 *
 *  Referenced clutter code
 *  Copyright (C) 2006 OpenedHand
 *
 *  Clutter-Gesture is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU Lesser General Public License as published
 *  by the Free Software Foundation; either version 2.1 of the License,
 *  or (at your option) any later version.
 *
 *  Clutter-Gesture is distributed in the hope that it will be useful, but
 *  WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 *  Lesser General Public License for more details.
 *
 *  You should have received a copy of the GNU Lesser General Public License
 *  along with ClutterGesture; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 *  USA.
 ***/

#ifndef __clutter_gesture_h__
#define __clutter_gesture_h__

#include "config.h"
#include "gesture-events.h"


typedef struct _ClutterGesture ClutterGesture;
typedef struct _ClutterGestureClass ClutterGestureClass;
typedef struct _ClutterGesturePrivate ClutterGesturePrivate;

G_BEGIN_DECLS

#define CLUTTER_TYPE_GESTURE            (clutter_gesture_get_type ())
#define CLUTTER_GESTURE(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), CLUTTER_TYPE_GESTURE, ClutterGesture))
#define CLUTTER_PAGE_GESTURE(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), CLUTTER_TYPE_GESTURE, ClutterGestureClass))
#define IS_CLUTTER_GESTURE(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CLUTTER_TYPE_GESTURE))
#define IS_CLUTTER_GESTURE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CLUTTER_TYPE_GESTURE))
#define CLUTTER_GESTURE_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), CLUTTER_TYPE_GESTURE, ClutterGestureClass))

GType clutter_gesture_get_type (void) G_GNUC_CONST;

struct _ClutterGesture
{
  /*< private >*/
  GObject parent;

  ClutterGesturePrivate *priv;
};

struct _ClutterGestureClass
{
  /*< private >*/
  GObjectClass parent_class;

  /*< public >*/
  gboolean (* gesture_pinch_event) (ClutterGesture           *gesture,
                                     ClutterGesturePinchEvent *event);
  gboolean (* gesture_rotate_event) (ClutterGesture            *gesture,
                                     ClutterGestureRotateEvent *event);
  gboolean (* gesture_slide_event) (ClutterGesture           *gesture,
                                    ClutterGestureSlideEvent *event);
  gboolean (* gesture_hold_event) (ClutterGesture           *gesture,
                                   ClutterGestureHoldEvent *event);
  gboolean (* gesture_navigate_event) (ClutterGesture            *gesture,
                                     ClutterGestureNavigateEvent *event);
  gboolean (* gesture_any_event) (ClutterGesture      *gesture,
                                  ClutterGestureEvent *event);
};

ClutterGesture *
clutter_gesture_new (ClutterActor *actor);

gboolean
clutter_gesture_set_gesture_mask (ClutterGesture *gesture,
                                  ClutterActor *actor,
                                  gint mask);
gboolean
clutter_gesture_set_hold_timeout (ClutterGesture *gesture,
                                  ClutterActor *actor,
                                  guint interval);
gboolean
clutter_gesture_set_hold_radius (ClutterGesture *gesture,
                                 ClutterActor *actor,
                                 guint radius);

typedef enum
{
  GESTURE_MASK_SLIDE =    1<<0,
  GESTURE_MASK_HOLD  =    1<<1,
  GESTURE_MASK_PINCH =    1<<2,
  GESTURE_MASK_ROTATE =   1<<3,
  GESTURE_MASK_NAVIGATE = 1<<4
} GestureMask;

#define GESTURE_IN_PROGRESS (1<<30)

#ifdef GESTURE_DEBUG
#define gesture_debug(format, args...) do {\
  fprintf(stderr, format, ##args); \
} while(0)
#else
#define gesture_debug(format, ...) 
#endif

G_END_DECLS

#endif