This file is indexed.

/usr/include/Unidraw/stateviews.h is in ivtools-dev 1.2.11a1-8.

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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
/*
 * Copyright (c) 1990, 1991 Stanford University
 *
 * Permission to use, copy, modify, distribute, and sell this software and its
 * documentation for any purpose is hereby granted without fee, provided
 * that the above copyright notice appear in all copies and that both that
 * copyright notice and this permission notice appear in supporting
 * documentation, and that the name of Stanford not be used in advertising or
 * publicity pertaining to distribution of the software without specific,
 * written prior permission.  Stanford makes no representations about
 * the suitability of this software for any purpose.  It is provided "as is"
 * without express or implied warranty.
 *
 * STANFORD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.
 * IN NO EVENT SHALL STANFORD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
 * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
 * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 */

/*
 * StateVarView subclasses.
 */

#ifndef unidraw_stateviews_h
#define unidraw_stateviews_h

#include <Unidraw/stateview.h>

#include <IV-2_6/_enter.h>

class BrushVar;
class ColorVar;
class FontVar;
class GravityVar;
class MagnifVar;
class ModifStatusVar;
class NameVar;
class PatternVar;
class PSBrush;
class PSColor;
class PSPattern;
class PSFont;
class TextInteractor;

//: name state variable view
// <a href=../man3.1/stateviews.html>man page</a>
class NameVarView : public StateVarView {
public:
    NameVarView(NameVar*, Alignment = Center, const char* sample = nil);
protected:
    virtual void Init();
    virtual boolean Stale();
};

//: file-name state variable view
// <a href=../man3.1/stateviews.html>man page</a>
class FileNameVarView : public StateVarView {
public:
    FileNameVarView(
        NameVar*, Alignment = Center,
        boolean relative = true, const char* sample = nil
    );
protected:
    virtual void Init();
protected:
    boolean _relative;
};

//: component-name state variable view
// <a href=../man3.1/stateviews.html>man page</a>
class CompNameVarView : public StateVarView {
public:
    CompNameVarView(
        CompNameVar*, Alignment = Center,
        boolean relative = true, const char* sample = nil
    );
protected:
    virtual void Init();
protected:
    boolean _relative;
};

//: modified-status state variable view
// <a href=../man3.1/stateviews.html>man page</a>
class ModifStatusVarView : public StateVarView {
public:
    ModifStatusVarView(ModifStatusVar*, Alignment = Center);
protected:
    virtual void Init();
    virtual boolean Stale();
    virtual void Reconfig();
    boolean WriteProtected();
protected:
    boolean _prevVal, _prevProt;
};

//: magnify-factor state variable view
// <a href=../man3.1/stateviews.html>man page</a>
class MagnifVarView : public StateVarView {
public:
    MagnifVarView(MagnifVar*, Alignment = Center);
protected:
    virtual void Init();
    virtual boolean Stale();
protected:
    float _prevVal;
};

//: gravity-enabled state variable view
// <a href=../man3.1/stateviews.html>man page</a>
class GravityVarView : public StateVarView {
public:
    GravityVarView(GravityVar*, Alignment = Center);
protected:
    virtual void Init();
    virtual boolean Stale();
protected:
    boolean _prevVal;
};

//: current-font state variable view
// <a href=../man3.1/stateviews.html>man page</a>
class FontVarView : public StateVarView {
public:
    FontVarView(FontVar*, Alignment = Center, const char* sample = nil);
protected:
    virtual void Init();
    virtual boolean Stale();
protected:
    PSFont* _prevVal;
};

//: current-brush state variable view
// <a href=../man3.1/stateviews.html>man page</a>
class BrushVarView : public StateVarView {
public:
    BrushVarView(BrushVar*, ColorVar* = nil);
    virtual ~BrushVarView();
protected:
    virtual void Init();
    virtual boolean Stale();
protected:
    PSBrush* _prevVal;
    PSColor* _prevFg, *_prevBg;
    ColorVar* _colorSubj;
};

//: current-pattern state variable view
// <a href=../man3.1/stateviews.html>man page</a>
class PatternVarView : public StateVarView {
public:
    PatternVarView(PatternVar*, ColorVar* = nil);
    virtual ~PatternVarView();
protected:
    virtual void Init();
    virtual boolean Stale();
protected:
    PSPattern* _prevVal;
    PSColor* _prevFg, *_prevBg;
    ColorVar* _colorSubj;
};

#include <IV-2_6/_leave.h>

#endif