| Index: xfa/fwl/lightwidget/cfwl_barcode.cpp
|
| diff --git a/xfa/fwl/lightwidget/barcode.cpp b/xfa/fwl/lightwidget/cfwl_barcode.cpp
|
| similarity index 96%
|
| rename from xfa/fwl/lightwidget/barcode.cpp
|
| rename to xfa/fwl/lightwidget/cfwl_barcode.cpp
|
| index 4f05837352c889082c29adf4005295238a99bae8..4ac358ce54ae94a75e3d7fa49fb30180e4ea65a2 100644
|
| --- a/xfa/fwl/lightwidget/barcode.cpp
|
| +++ b/xfa/fwl/lightwidget/cfwl_barcode.cpp
|
| @@ -4,13 +4,14 @@
|
|
|
| // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
|
|
|
| -#include "xfa/include/fwl/lightwidget/barcode.h"
|
| +#include "xfa/fwl/lightwidget/cfwl_barcode.h"
|
|
|
| #include <memory>
|
|
|
| CFWL_Barcode* CFWL_Barcode::Create() {
|
| return new CFWL_Barcode;
|
| }
|
| +
|
| FWL_ERR CFWL_Barcode::Initialize(const CFWL_WidgetProperties* pProperties) {
|
| if (m_pIface)
|
| return FWL_ERR_Indefinite;
|
| @@ -27,13 +28,17 @@ FWL_ERR CFWL_Barcode::Initialize(const CFWL_WidgetProperties* pProperties) {
|
| CFWL_Widget::Initialize();
|
| return FWL_ERR_Succeeded;
|
| }
|
| +
|
| CFWL_Barcode::CFWL_Barcode() {}
|
| +
|
| CFWL_Barcode::~CFWL_Barcode() {}
|
| +
|
| void CFWL_Barcode::SetType(BC_TYPE type) {
|
| if (!m_pIface)
|
| return;
|
| static_cast<IFWL_Barcode*>(m_pIface)->SetType(type);
|
| }
|
| +
|
| FX_BOOL CFWL_Barcode::IsProtectedType() {
|
| if (!m_pIface)
|
| return 0;
|
|
|