blob: f2288dff0f658e6e767e4e45fe57ef3c40aba08d [file] [log] [blame]
Dan Sinclair8308b8c2018-01-29 21:34:56 +00001// 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
12class CXFA_FFDropDown : public CXFA_FFField {
13 public:
14 ~CXFA_FFDropDown() override;
15
Tom Sepez1ab27572018-12-14 20:31:31 +000016 virtual void InsertItem(WideStringView wsLabel, int32_t nIndex) = 0;
Dan Sinclair8308b8c2018-01-29 21:34:56 +000017 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_