aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-pdf/link.h
blob: 3f95ef888f911f11e0e605c7dbab4ee1b40fe579 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef LUMINA_PDF_LINK_H
#define LUMINA_PDF_LINK_H

namespace LuminaPDF {

class Link {
public:
  Link(TextData *_data, Poppler::Link *_link) : data(_data), link(_link) {}
  ~Link() { delete data; }

  TextData *getData() { return data; }
  Poppler::Link *getLink() { return link; }

private:
  TextData *data;
  Poppler::Link *link;
};

} // namespace LuminaPDF
#endif // LUMINA_PDF_LINK_H
bgstack15