Merge XFA to PDFium master at 4dc95e7 on 10/28/2014
[pdfium.git] / xfa / src / fxbarcode / src / include / BC_CommonCharacterSetECI.h
1 // Copyright 2014 PDFium Authors. All rights reserved.\r
2 // Use of this source code is governed by a BSD-style license that can be\r
3 // found in the LICENSE file.\r
4 \r
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com\r
6 \r
7 #ifndef _BC_COMMONCHARACTERSETECI_H_\r
8 #define _BC_COMMONCHARACTERSETECI_H_\r
9 class CBC_CommonECI;\r
10 class CBC_CommonCharacterSetECI;\r
11 class CBC_CommonCharacterSetECI : public CBC_CommonECI\r
12 {\r
13 public:\r
14     CBC_CommonCharacterSetECI(FX_INT32 value, CFX_ByteString encodingName);\r
15     virtual ~CBC_CommonCharacterSetECI();\r
16     CFX_ByteString GetEncodingName();\r
17     static void AddCharacterSet(FX_INT32 value, CFX_ByteString encodingName);\r
18     FX_INT32 GetValue();\r
19     static CBC_CommonCharacterSetECI* GetCharacterSetECIByValue(FX_INT32 value);\r
20     static CBC_CommonCharacterSetECI* GetCharacterSetECIByName(const CFX_ByteString& name);\r
21 private:\r
22     CFX_ByteString m_encodingName;\r
23     static void initialize();\r
24 };\r
25 #endif\r