This file is indexed.

/usr/include/GNUstep/Frameworks/AddressView.framework/Versions/0/ADPersonView.h is in libaddressview-dev 0.4.7-1ubuntu3.

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
114
115
116
117
118
119
120
121
122
123
124
/* This is -*- ObjC -*-)

   ADPersonView.h   
   \author: Björn Giesler <giesler@ira.uka.de>
   
   
   
   $Author: rmottola $
   $Locker:  $
   $Revision: 1.1 $
   $Date: 2007/03/29 22:36:04 $
 */

#ifndef ADPERSONVIEW_H
#define ADPERSONVIEW_H

/* system includes */
#include <AppKit/AppKit.h>
#include <Addresses/Addresses.h>

/* my includes */
#include "ADPersonPropertyView.h"

/**
 * Posted whenever the ADFirstName or ADLastName fields are changed.
 */
extern NSString * const ADPersonNameChangedNotification;

/**
 * Pasteboard identifier. Value for this is a NSArray:
 * ({ UID=<uniqueId>; AB=<AddressBookDescription>;
 *    PID=<pidOfProcessOwningAddressBook}, ...)
 */
extern NSString * const ADPeoplePboardType;

@interface ADPersonView: NSView <ADPersonPropertyViewDelegate>
{
  BOOL _fillsSuperview;
  ADPerson *_person;
  BOOL _editable;
  int _headerLineY, _footerLineY, _iconY;
  int _editingViewIndex;

  id _imageView, _noteView;
  BOOL _displaysImage, _forceImage;

  NSImage *_lockImg, *_shareImg;

  id _delegate;
  BOOL _acceptsDrop;
  BOOL _noteTextChanged;

  float _fontSize;

  BOOL _mouseDownOnSelf;
}

- initWithFrame: (NSRect) aRect;

- (void) layout;
- (BOOL) fillsSuperview;
- (void) setFillsSuperview: (BOOL) yesno;
- (void) calcSize;

- (void) setPerson: (ADPerson*) person;
- (ADPerson*) person;

// displays image if the person has one.
- (void) setDisplaysImage: (BOOL) yesno;
- (BOOL) displaysImage;
// always display image, displaying a dummy if the person doesn't have one.
- (void) setForceImage: (BOOL) yesno;
- (BOOL) forceImage;

- (void) drawRect: (NSRect) rect;

- (BOOL) isEditable;
- (void) setEditable: (BOOL) yn;
- (void) beginEditingInFirstCell;

- (void) superviewFrameChanged: (NSNotification*) note;
- (void) imageClicked: (id) sender;

- (void) cleanupEmptyProperty: (NSString*) prop;
- (void) cleanupEmptyProperties;

- (void) setDelegate: (id) delegate;
- (id) delegate;

- (void) setAcceptsDrop: (BOOL) yesno;
- (BOOL) acceptsDrop;

- (void) setFontSize: (float) fontSize;
- (float) fontSize;
@end

@interface ADPersonView (PropertyMangling)
+ (NSString*) nextLabelAfter: (NSString*) previous
		 forProperty: (NSString*) property;
+ (NSString*) defaultLabelForProperty: (NSString*) property;
+ (id) emptyValueForProperty: (NSString*) property;
+ (NSArray*) layoutRuleForProperty: (NSString*) property
			     value: (NSDictionary*) dict;

+ (NSString*) isoCountryCodeForCountryName: (NSString*) name;
+ (NSString*) isoCountryCodeForCurrentLocale;
+ (void) setDefaultISOCountryCode: (NSString*) code;
@end

@interface NSObject (ADPersonViewDelegate)
- (BOOL) personView: (ADPersonView*) aView
   shouldAcceptDrop: (id<NSDraggingInfo>) info;
- (BOOL) personView: (ADPersonView*) aView
receivedDroppedPersons: (NSArray*) persons;

- (BOOL) personView: (ADPersonView*) aView
   willDragProperty: (NSString*) aProperty;
- (BOOL) personView: (ADPersonView*) aView
      willDragImage: (NSImage*) anImage;
- (BOOL) personView: (ADPersonView*) aView
     willDragPerson: (ADPerson*) aPerson;
@end

#endif /* ADPERSONVIEW_H */