This file is indexed.

/usr/include/OpenLayer/PendingLoad.hpp is in libopenlayer-dev 2.1-2.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
#ifndef PENDING_LOADING_HPP
#define PENDING_LOADING_HPP


#include "Includes.hpp"
#include "GarbageCollector.hpp"
#include "TextureInfo.hpp"
#include "Declspec.hpp"


namespace ol {


class Bitmap;


class OL_LIB_DECLSPEC PendingBitmapLoad {
public:
	virtual ~PendingBitmapLoad(){}
   virtual OlLoadResult ExecuteLoading( Bitmap &bmp ) = 0;
};



class OL_LIB_DECLSPEC PendingFileLoad : public PendingBitmapLoad {
public:
   PendingFileLoad( const char *filename )
      : filename( filename ) {}
   virtual ~PendingFileLoad(){}
   virtual OlLoadResult ExecuteLoading( Bitmap &bmp );

private:
   const char *filename;
};



class OL_LIB_DECLSPEC PendingFileAlphaLoad : public PendingBitmapLoad {
public:
   PendingFileAlphaLoad( const char *filename, const char *alphaFilename )
      : filename( filename ), alphaFilename( alphaFilename ) {}
   virtual ~PendingFileAlphaLoad(){}
   virtual OlLoadResult ExecuteLoading( Bitmap &bmp );

private:
   const char *filename;
   const char *alphaFilename;
};



class OL_LIB_DECLSPEC PendingDataLoad : public PendingBitmapLoad {
public:
   PendingDataLoad( float *data, OlTextureInfo textureInfo )
      : data( data ), textureInfo( textureInfo ) {}
   virtual ~PendingDataLoad(){}
   virtual OlLoadResult ExecuteLoading( Bitmap &bmp );

private:
   float *data;
   OlTextureInfo textureInfo;
};



template< class Functor >
class OL_LIB_DECLSPEC PendingFunctorLoad : public PendingBitmapLoad {
public:
   PendingFunctorLoad( Functor functor, int width, int height )
      : functor( functor ), width( width ), height( height ) {}
   virtual ~PendingFunctorLoad(){}
   virtual OlLoadResult ExecuteLoading( Bitmap &bmp );

private:
   Functor functor;
   int width, height;
};



}



#endif // PENDING_LOADING_HPP