Source-highlight Qt Library
Main Page
Related Pages
Classes
Files
File List
ParagraphMap.h
1
/*
2
* Copyright (C) 2008-2010 Lorenzo Bettini, http://www.lorenzobettini.it
3
* License: See COPYING file that comes with this distribution
4
*/
5
6
#ifndef PARAGRAPHMAP_H_
7
#define PARAGRAPHMAP_H_
8
9
#include <vector>
10
#include "HighlightStateData.h"
11
12
#define STARTING_SIZE 100
13
14
namespace
srchiliteqt {
15
20
class
ParagraphMap
{
21
typedef
std::vector<HighlightStateData *> vectorType;
22
vectorType dataVector;
23
public
:
24
ParagraphMap
();
25
~
ParagraphMap
();
26
34
void
insert
(
int
pos,
HighlightStateData
*data);
35
41
HighlightStateData
*
getData
(
int
pos);
42
};
43
44
45
}
// namespace srchiliteqt
46
47
#endif
/* PARAGRAPHMAP_H_ */
ParagraphMap.h
Generated on Sat Aug 25 2012 15:37:49 for Source-highlight Qt Library by
1.8.1.2