OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 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 _BC_DIMENSIONS_H_ | 7 #ifndef _BC_DIMENSIONS_H_ |
8 #define _BC_DIMENSIONS_H_ | 8 #define _BC_DIMENSIONS_H_ |
9 class CBC_Dimensions { | 9 class CBC_Dimensions { |
10 public: | 10 public: |
11 CBC_Dimensions(int32_t minCols, | 11 CBC_Dimensions(int32_t minCols, |
12 int32_t maxCols, | 12 int32_t maxCols, |
13 int32_t minRows, | 13 int32_t minRows, |
14 int32_t maxRows); | 14 int32_t maxRows); |
15 virtual ~CBC_Dimensions(); | 15 virtual ~CBC_Dimensions(); |
16 int32_t getMinCols(); | 16 int32_t getMinCols(); |
17 int32_t getMaxCols(); | 17 int32_t getMaxCols(); |
18 int32_t getMinRows(); | 18 int32_t getMinRows(); |
19 int32_t getMaxRows(); | 19 int32_t getMaxRows(); |
20 | 20 |
21 private: | 21 private: |
22 int32_t m_minCols; | 22 int32_t m_minCols; |
23 int32_t m_maxCols; | 23 int32_t m_maxCols; |
24 int32_t m_minRows; | 24 int32_t m_minRows; |
25 int32_t m_maxRows; | 25 int32_t m_maxRows; |
26 }; | 26 }; |
27 #endif | 27 #endif |
OLD | NEW |