aboutsummaryrefslogtreecommitdiff
path: root/fxbarcode/cbc_code128.h
diff options
context:
space:
mode:
Diffstat (limited to 'fxbarcode/cbc_code128.h')
-rw-r--r--fxbarcode/cbc_code128.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/fxbarcode/cbc_code128.h b/fxbarcode/cbc_code128.h
index 2ccf07d40..81710c8d1 100644
--- a/fxbarcode/cbc_code128.h
+++ b/fxbarcode/cbc_code128.h
@@ -1,4 +1,4 @@
-// Copyright 2016 PDFium Authors. All rights reserved.
+// Copyright 2016 The PDFium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -7,11 +7,12 @@
#ifndef FXBARCODE_CBC_CODE128_H_
#define FXBARCODE_CBC_CODE128_H_
-#include "core/fxcrt/fx_coordinates.h"
-#include "core/fxcrt/fx_system.h"
+#include "core/fxcrt/widestring.h"
+#include "fxbarcode/BC_Library.h"
#include "fxbarcode/cbc_onecode.h"
class CBC_OnedCode128Writer;
+class CFX_Matrix;
class CBC_Code128 final : public CBC_OneCode {
public:
@@ -22,7 +23,7 @@ class CBC_Code128 final : public CBC_OneCode {
BC_TYPE GetType() override;
bool Encode(WideStringView contents) override;
bool RenderDevice(CFX_RenderDevice* device,
- const CFX_Matrix* matrix) override;
+ const CFX_Matrix& matrix) override;
private:
CBC_OnedCode128Writer* GetOnedCode128Writer();