00001
00002
00003
00004
00005
00006 #ifndef PARAGRAPHMAP_H_
00007 #define PARAGRAPHMAP_H_
00008
00009 #include <vector>
00010 #include "HighlightStateData.h"
00011
00012 #define STARTING_SIZE 100
00013
00014 namespace srchiliteqt {
00015
00020 class ParagraphMap {
00021 typedef std::vector<HighlightStateData *> vectorType;
00022 vectorType dataVector;
00023 public:
00024 ParagraphMap();
00025 ~ParagraphMap();
00026
00034 void insert(int pos, HighlightStateData *data);
00035
00041 HighlightStateData *getData(int pos);
00042 };
00043
00044
00045 }
00046
00047 #endif