This file is indexed.

/usr/include/codeblocks/cbtool.h is in codeblocks-dev 10.05-2.

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
/*
 * This file is part of the Code::Blocks IDE and licensed under the GNU Lesser General Public License, version 3
 * http://www.gnu.org/licenses/lgpl-3.0.html
 */

#ifndef CBTOOL_H
#define CBTOOL_H

#include <wx/string.h>

#define CB_TOOLS_SEPARATOR _T("---separator---")

class cbTool
{
  public:
    enum eLaunchOption
    {
        LAUNCH_NEW_CONSOLE_WINDOW,
        LAUNCH_HIDDEN,
        LAUNCH_VISIBLE,
        LAUNCH_VISIBLE_DETACHED
    };

    cbTool() { m_LaunchOption = LAUNCH_NEW_CONSOLE_WINDOW; m_MenuId = -1; }
    // getters
    wxString GetName() const {return m_Name;}
    wxString GetCommand() const {return m_Command;}
    wxString GetParams() const {return m_Params;}
    wxString GetWorkingDir() const {return m_WorkingDir;}
    eLaunchOption GetLaunchOption() const {return m_LaunchOption;}
    int GetMenuId() const {return m_MenuId;}
    // setters
    void SetName(const wxString& Name) {m_Name = Name;}
    void SetCommand(const wxString& Command) {m_Command = Command;}
    void SetParams(const wxString& Params) {m_Params = Params;}
    void SetWorkingDir(const wxString& WorkingDir) {m_WorkingDir = WorkingDir;}
    void SetLaunchOption(eLaunchOption LaunchOption) {m_LaunchOption = LaunchOption;}
    void SetMenuId(int MenuId) {m_MenuId = MenuId;}
  private:
    wxString m_Name;
    wxString m_Command;
    wxString m_Params;
    wxString m_WorkingDir;
    eLaunchOption m_LaunchOption;
    int m_MenuId;
};

#endif // CBTOOL_H