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