This file is indexed.

/usr/include/juffed/DocHandlerInt.h is in juffed-dev 0.10-85-g5ba17f9-17.

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
86
87
88
89
90
91
/*
JuffEd - An advanced text editor
Copyright 2007-2010 Mikhail Murzin

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License 
version 2 as published by the Free Software Foundation.

This program 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 General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/

#ifndef __JUFFED_DOC_HANDLER_INT_H__
#define __JUFFED_DOC_HANDLER_INT_H__

#include "LibConfig.h"

#include "Enums.h"

namespace Juff {

class Document;
class Project;

class LIBJUFF_EXPORT DocHandlerInt {
public:
	/**
	* Returns app's main window.
	*/
	virtual QWidget* mainWindow() const = 0;
	
	/**
	* Returns current document. If there is no documents then returns a NullDoc.
	*/
	virtual Juff::Document* curDoc() const = 0;

	/**
	* Returns document by file name. If there is no such document opened then returns a NullDoc.
	*/
	virtual Juff::Document* getDoc(const QString&) const = 0;

	/**
	* Returns current project.
	*/
	virtual Juff::Project* curPrj() const = 0;

	/**
	* Opens a document with a given file name or activates it if it is already opened.
	*/
	virtual void openDoc(const QString&, Juff::PanelIndex panel = Juff::PanelCurrent, bool addToRecent = false) = 0;

	/**
	* Closes the document with a given file name.
	*/
	virtual void closeDoc(const QString&) = 0;

	/**
	* Closes all document at the given panel.
	*/
	virtual bool closeAllDocs(Juff::PanelIndex panel) = 0;
	
	/**
	* Closes all document except for the given index at the given panel.
	*/
	virtual void closeAllOtherDocs(int index, Juff::PanelIndex panel) = 0;
	
	/**
	* Saves the document with a given file name.
	*/
	virtual void saveDoc(const QString&) = 0;

	/**
	* Returns the number of currently opened documents for the given panel.
	*/
	virtual int docCount(Juff::PanelIndex) const = 0;

	/**
	* Returns the list of currently opened documents.
	*/
	virtual QStringList docList() const = 0;
};

}

#endif // __JUFFED_DOC_HANDLER_INT_H__