Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(288)

Side by Side Diff: core/fpdfdoc/clines.h

Issue 2187073005: Splitting fpdfdoc/doc_* part II. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@fpdf_doc_III
Patch Set: Rebase to master Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « core/fpdfdoc/cline.cpp ('k') | core/fpdfdoc/clines.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef CORE_FPDFDOC_CLINES_H_ 7 #ifndef CORE_FPDFDOC_CLINES_H_
8 #define CORE_FPDFDOC_CLINES_H_ 8 #define CORE_FPDFDOC_CLINES_H_
9 9
10 #include "core/fpdfdoc/pdf_vt.h" 10 #include <stdint.h>
11
12 #include "core/fpdfdoc/cpvt_arraytemplate.h"
13 #include "core/fpdfdoc/cpvt_lineinfo.h"
14
15 class CLine;
11 16
12 class CLines final { 17 class CLines final {
13 public: 18 public:
14 CLines(); 19 CLines();
15 ~CLines(); 20 ~CLines();
16 21
17 int32_t GetSize() const; 22 int32_t GetSize() const;
18 CLine* GetAt(int32_t nIndex) const; 23 CLine* GetAt(int32_t nIndex) const;
19 24
20 void Empty(); 25 void Empty();
21 void RemoveAll(); 26 void RemoveAll();
22 int32_t Add(const CPVT_LineInfo& lineinfo); 27 int32_t Add(const CPVT_LineInfo& lineinfo);
23 void Clear(); 28 void Clear();
24 29
25 private: 30 private:
26 CPVT_ArrayTemplate<CLine*> m_Lines; 31 CPVT_ArrayTemplate<CLine*> m_Lines;
27 int32_t m_nTotal; 32 int32_t m_nTotal;
28 }; 33 };
29 34
30 #endif // CORE_FPDFDOC_CLINES_H_ 35 #endif // CORE_FPDFDOC_CLINES_H_
OLDNEW
« no previous file with comments | « core/fpdfdoc/cline.cpp ('k') | core/fpdfdoc/clines.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698