| // Copyright 2014 PDFium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
| // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
|
| class Icon : public CJS_EmbedObj
|
| Icon(CJS_Object* pJSObject);
|
| FX_BOOL name(OBJ_PROP_PARAMS);
|
| void SetStream(CPDF_Stream* pIconStream);
|
| CPDF_Stream* GetStream();
|
| void SetIconName(CFX_WideString name);
|
| CFX_WideString GetIconName();
|
| CPDF_Stream* m_pIconStream;
|
| CFX_WideString m_swIconName;
|
| class CJS_Icon : public CJS_Object
|
| CJS_Icon(JSFXObject pObject) : CJS_Object(pObject){};
|
| DECLARE_JS_CLASS(CJS_Icon);
|
| JS_STATIC_PROP(name, Icon);
|