File: bibtexparser.h

package info (click to toggle)
texstudio 2.11.2%2Bdebian-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 41,292 kB
  • ctags: 12,405
  • sloc: cpp: 93,072; xml: 10,217; ansic: 4,153; sh: 145; makefile: 56
file content (21 lines) | stat: -rw-r--r-- 457 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef BIBTEXPARSER_H
#define BIBTEXPARSER_H

#include "mostQtHeaders.h"

class BibTeXFileInfo
{
public:
	//these are the properties of the file when it was loaded the last time (no watching)
	QTextCodec *codec;
	QDateTime lastModified;
	QSet<QString> ids;
	QString linksTo;
	bool loadIfModified(const QFileInfo &fi);
private:
	void load(const QFileInfo &fi);
protected: //unit tests access this
	void parse(QByteArray &data);
};

#endif // BIBTEXPARSER_H