This file is indexed.

/usr/include/marble/OsmcSymbol.h is in libmarble-dev 4:17.12.3-0ubuntu1.

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
//
// This file is part of the Marble Virtual Globe.
//
// This program is free software licensed under the GNU LGPL. You can
// find a copy of this license in LICENSE.txt in the top directory of
// the source code.
//
// Copyright 2017      Sergey Popov <sergobot@protonmail.com>
//

#ifndef OSMCSYMBOL_H
#define OSMCSYMBOL_H

#include <QColor>
#include <QImage>
#include <QString>
#include <QSvgRenderer>

class OsmcSymbol
{
public:
    explicit OsmcSymbol(const QString &tag, int size = 20);
    ~OsmcSymbol();

    QImage icon() const;
    QColor wayColor() const;

private:
    bool parseTag(const QString &tag);
    bool parseBackground(const QString &bg);
    QSvgRenderer* parseForeground(const QString &fg);

    void render();

    QColor  m_wayColor;
    QColor  m_backgroundColor;
    QString m_backgroundType;
    QSvgRenderer *m_foreground;
    QSvgRenderer *m_foreground2;
    QString m_text;
    QColor  m_textColor;

    QImage m_image;

    QStringList m_backgroundTypes;
    QStringList m_foregroundTypes;
    QStringList m_precoloredForegroundTypes;

    int const m_side;
    int m_wayWidth;
};

#endif // OSMCSYMBOL_H