Dan Sinclair | 8308b8c | 2018-01-29 21:34:56 +0000 | [diff] [blame] | 1 | // Copyright 2018 PDFium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| 6 | |
| 7 | #ifndef XFA_FXFA_CXFA_FFDROPDOWN_H_ |
| 8 | #define XFA_FXFA_CXFA_FFDROPDOWN_H_ |
| 9 | |
| 10 | #include "xfa/fxfa/cxfa_fffield.h" |
| 11 | |
| 12 | class CXFA_FFDropDown : public CXFA_FFField { |
| 13 | public: |
| 14 | ~CXFA_FFDropDown() override; |
| 15 | |
Tom Sepez | 1ab2757 | 2018-12-14 20:31:31 +0000 | [diff] [blame] | 16 | virtual void InsertItem(WideStringView wsLabel, int32_t nIndex) = 0; |
Dan Sinclair | 8308b8c | 2018-01-29 21:34:56 +0000 | [diff] [blame] | 17 | virtual void DeleteItem(int32_t nIndex) = 0; |
| 18 | |
| 19 | protected: |
| 20 | explicit CXFA_FFDropDown(CXFA_Node* pNode); |
| 21 | }; |
| 22 | |
| 23 | #endif // XFA_FXFA_CXFA_FFDROPDOWN_H_ |