blob: f02273b03f55ea4ee563fa51e62a2030a83a1606 [file] [log] [blame]
Dan Sinclaira98600a2016-03-21 15:15:56 -04001// Copyright 2016 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
Dan Sinclaire7786682017-03-29 15:18:41 -04007#ifndef FXBARCODE_CBC_UPCA_H_
8#define FXBARCODE_CBC_UPCA_H_
Dan Sinclaira98600a2016-03-21 15:15:56 -04009
dsinclaira52ab742016-09-29 13:59:29 -070010#include "core/fxcrt/fx_system.h"
Lei Zhang93ea6d42018-12-03 20:16:08 +000011#include "fxbarcode/cbc_eancode.h"
Dan Sinclaira98600a2016-03-21 15:15:56 -040012
Lei Zhang93ea6d42018-12-03 20:16:08 +000013class CBC_UPCA final : public CBC_EANCode {
Dan Sinclaira98600a2016-03-21 15:15:56 -040014 public:
15 CBC_UPCA();
thestigfbe14b92016-05-02 13:31:10 -070016 ~CBC_UPCA() override;
17
Lei Zhang93ea6d42018-12-03 20:16:08 +000018 // CBC_EANCode:
weili29b8ad02016-06-14 18:20:04 -070019 BC_TYPE GetType() override;
Lei Zhang93ea6d42018-12-03 20:16:08 +000020 BCFORMAT GetFormat() const override;
21 size_t GetMaxLength() const override;
Dan Sinclaira98600a2016-03-21 15:15:56 -040022};
23
Dan Sinclaire7786682017-03-29 15:18:41 -040024#endif // FXBARCODE_CBC_UPCA_H_