This file is indexed.

/usr/include/gnelib/TextConsole.h is in libgnelib-dev 0.75+svn20091130-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
#ifndef _TEXTCONSOLE_H_
#define _TEXTCONSOLE_H_

/* GNE - Game Networking Engine, a portable multithreaded networking library.
 * Copyright (C) 2001-2006 Jason Winnebeck 
 * Project website: http://www.gillius.org/gne/
 *
 * This library 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.
 *
 * 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
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

#include <gnelib/ConsoleBuffer.h>

namespace GNE {

namespace Console {

/**
 * @ingroup console
 *
 * Provides a text-based window view of a buffer of text, similar to a textbox
 * object in a GUI.  This allows one to provide a text-based console which
 * would be useful in a dedicated server running in a console, or in a UNIX
 * prompt environment.
 *
 * The console needs a rectangle on the screen for which it can have exclusive
 * access.  Other threads may use located versions of text output (like
 * Console::mlprintf) outside of the specified window area.  The window
 * provides word wrapping and software-based scrolling.
 */
class TextConsole : public ConsoleBuffer {
public:
  TextConsole( int xoffset, int yoffset, int width, int height );

  virtual void erase();

protected:
  virtual void render( int x, int y, std::string text, int renderHints );
};

} //namespace Console

} //namespace GNE

#endif