This file is indexed.

/usr/share/codelite/templates/gizmos/app.cpp.wizard is in codelite-plugins 2.8.0.4537~dfsg-4.

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
#include "$(AppFile).h"
#include "wx/image.h"
#include "wx/sysopt.h"
#include "wx/xrc/xmlres.h"
#include "$(MainFrameFile).h"

IMPLEMENT_APP($(AppName))

$(AppName)::$(AppName)()
{
}

$(AppName)::~$(AppName)()
{
}

bool $(AppName)::OnInit()
{
	// Init resources and add the PNG handler
	wxSystemOptions::SetOption(_T("msw.remap"), 0);
	wxXmlResource::Get()->InitAllHandlers();
	wxImage::AddHandler( new wxPNGHandler );
	wxImage::AddHandler( new wxCURHandler );
	wxImage::AddHandler( new wxICOHandler );
	wxImage::AddHandler( new wxXPMHandler );
	wxImage::AddHandler( new wxGIFHandler );

	wxFrame* frame = new $(MainFrameName)(NULL,
                                   wxID_ANY,
                                   wxT("$(ProjectName)"),
                                   wxDefaultPosition,
								   wxSize(800, 600));
	


	frame->Show(TRUE);
	SetTopWindow(frame);
	return TRUE;
}

int $(AppName)::OnExit()
{
	return 0;
}