Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(535)

Side by Side Diff: xfa/src/fxbarcode/oned/BC_OnedUPCAWriter.h

Issue 1570893003: Clean compiling warnings on Linux (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef _BC_ONEDUPCAWRITER_H_ 7 #ifndef _BC_ONEDUPCAWRITER_H_
8 #define _BC_ONEDUPCAWRITER_H_ 8 #define _BC_ONEDUPCAWRITER_H_
9 class CBC_Writer; 9 class CBC_Writer;
10 class CBC_OnedEAN13Writer; 10 class CBC_OnedEAN13Writer;
(...skipping 10 matching lines...) Expand all
21 BCFORMAT format, 21 BCFORMAT format,
22 int32_t& outWidth, 22 int32_t& outWidth,
23 int32_t& outHeight, 23 int32_t& outHeight,
24 int32_t& e); 24 int32_t& e);
25 uint8_t* Encode(const CFX_ByteString& contents, 25 uint8_t* Encode(const CFX_ByteString& contents,
26 BCFORMAT format, 26 BCFORMAT format,
27 int32_t& outWidth, 27 int32_t& outWidth,
28 int32_t& outHeight, 28 int32_t& outHeight,
29 int32_t hints, 29 int32_t hints,
30 int32_t& e); 30 int32_t& e);
31 uint8_t* Encode(const CFX_ByteString& contents,
32 int32_t& outLength,
33 int32_t& e) {
34 return nullptr;
35 }
31 void RenderResult(const CFX_WideStringC& contents, 36 void RenderResult(const CFX_WideStringC& contents,
32 uint8_t* code, 37 uint8_t* code,
33 int32_t codeLength, 38 int32_t codeLength,
34 FX_BOOL isDevice, 39 FX_BOOL isDevice,
35 int32_t& e); 40 int32_t& e);
36 FX_BOOL CheckContentValidity(const CFX_WideStringC& contents); 41 FX_BOOL CheckContentValidity(const CFX_WideStringC& contents);
37 CFX_WideString FilterContents(const CFX_WideStringC& contents); 42 CFX_WideString FilterContents(const CFX_WideStringC& contents);
38 int32_t CalcChecksum(const CFX_ByteString& contents); 43 int32_t CalcChecksum(const CFX_ByteString& contents);
39 44
40 protected: 45 protected:
41 void ShowChars(const CFX_WideStringC& contents, 46 void ShowChars(const CFX_WideStringC& contents,
42 CFX_DIBitmap* pOutBitmap, 47 CFX_DIBitmap* pOutBitmap,
43 CFX_RenderDevice* device, 48 CFX_RenderDevice* device,
44 const CFX_Matrix* matrix, 49 const CFX_Matrix* matrix,
45 int32_t barWidth, 50 int32_t barWidth,
46 int32_t multiple, 51 int32_t multiple,
47 int32_t& e); 52 int32_t& e);
48 }; 53 };
49 #endif 54 #endif
OLDNEW
« xfa/src/fdp/src/css/fde_cssstyleselector.cpp ('K') | « xfa/src/fxbarcode/BC_Writer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698