File: bibtexparser.h

package info (click to toggle)
texstudio 2.3%2Bdebian-3
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 20,992 kB
  • sloc: cpp: 61,734; ansic: 4,300; xml: 726; sh: 125; makefile: 25
file content (20 lines) | stat: -rw-r--r-- 435 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#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)
	QDateTime lastModified;
	QStringList 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