This file is indexed.

/usr/include/paragui/pgsignals.h is in libparagui1.1-dev 1.1.8-3.1.

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
/*
    ParaGUI - crossplatform widgetset
    Copyright (C) 2000,2001,2002  Alexander Pipelka
 
    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Library General Public
    License as published by the Free Software Foundation; either
    version 2 of the License, or (at your option) any later version.
 
    This library 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
    Library General Public License for more details.
 
    You should have received a copy of the GNU Library General Public
    License along with this library; if not, write to the Free
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
    Alexander Pipelka
    pipelka@teleweb.at
 
    Last Update:      $Author: braindead $
    Update Date:      $Date: 2004/07/07 08:44:22 $
    Source File:      $Source: /cvsroot/paragui/paragui/include/pgsignals.h,v $
    CVS/RCS Revision: $Revision: 1.8.2.3 $
    Status:           $State: Exp $
*/

#ifndef PG_SIGNALS_H
#define PG_SIGNALS_H

#include <sigc++/sigc++.h>
#include "pgsigconvert.h"

#ifndef DOXYGEN_SKIP
using namespace SigC;
using namespace SigCX;
#endif // DOXYGEN_SKIP

typedef void* PG_Pointer;

template<class datatype = PG_Pointer> class PG_Signal0 : public Signal0<bool> {
public:

	Connection connect(const Slot1<bool, datatype>& s, datatype data) {
		return Signal0<bool>::connect(bind(s, data));
	};

};

template<class P1, class datatype = PG_Pointer> class PG_Signal1 : public Signal1<bool, P1> {

	static bool sig_convert0(Slot0<bool>& s, P1 p1) {
		return s();
	}

public:
	
	Connection connect(const Slot2<bool, P1, datatype>& s, datatype data) {
		return Signal1<bool, P1>::connect(bind(s, data));
	};

	Connection connect(const Slot1<bool, datatype>& s, datatype data) {
		return connect(bind(s, data));
	}

	Connection connect(const Slot1<bool, P1>& s) {
		return Signal1<bool, P1>::connect(s);
	}

	Connection connect(const Slot0<bool>& s) {
		return Signal1<bool, P1>::connect(convert(s, sig_convert0));
	}

	PG_Signal1& operator=(const PG_Signal1&);
};


template<class P1, class P2, class datatype = PG_Pointer> class PG_Signal2 : public Signal2<bool, P1, P2> {

	static bool sig_convert_p2(Slot1<bool, P2>& s, P1 p1, P2 p2) {
		return s(p2);
	}

	static bool sig_convert_p1(Slot1<bool, P1>& s, P1 p1, P2 p2) {
		return s(p1);
	}

	static bool sig_convert0(Slot0<bool>& s, P1 p1, P2 p2) {
		return s();
	}
public:

	Connection connect(const Slot3<bool, P1, P2, datatype>& s, datatype data) {
		return Signal2<bool, P1, P2>::connect(bind(s, data));
	}

	Connection connect(const Slot2<bool, P1, datatype>& s, datatype data) {
		return Signal2<bool, P1, P2>::connect(bind(s, data));
	};

	Connection connect(const Slot2<bool, P1, P2>& s) {
		return Signal2<bool, P1, P2>::connect(s);
	}

	Connection connect(const Slot1<bool, P2>& s) {
		return Signal2<bool, P1, P2>::connect(convert(s, sig_convert_p2));
	}

	Connection connect(const Slot1<bool, P1>& s) {
		return Signal2<bool, P1, P2>::connect(convert(s, sig_convert_p2));
	}

	Connection connect(const Slot0<bool>& s) {
		return Signal2<bool, P1, P2>::connect(convert(s, sig_convert0));
	}

private:
	PG_Signal2& operator=(const PG_Signal2&);

};

/*
typedef PG_Signal1<PG_MessageObject*> PG_SignalAppIdle;

typedef PG_Signal1<PG_Application*> PG_SignalAppQuit;

typedef PG_Signal1<const SDL_ResizeEvent*> PG_SignalVideoResize;

typedef PG_Signal2<PG_TabBar*, PG_Button*> PG_SignalTabSelect;

typedef Slot1<bool, PG_Button*> PG_TabSelectSlot;

typedef PG_Signal2<PG_NoteBook*, PG_Widget*> PG_PageSelect;

typedef Slot1<bool, PG_Widget*> PG_PageSelectSlot;
*/

#endif // PG_SIGNALS_H