Custom Platform Support Development Kit  1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
IFCMStringUtils.h
Go to the documentation of this file.
1 /*************************************************************************
2 * ADOBE CONFIDENTIAL
3 * ___________________
4 *
5 * Copyright [2014] Adobe Systems Incorporated
6 * All Rights Reserved.
7 *
8 * NOTICE: All information contained herein is, and remains
9 * the property of Adobe Systems Incorporated and its suppliers,
10 * if any. The intellectual and technical concepts contained
11 * herein are proprietary to Adobe Systems Incorporated and its
12 * suppliers and are protected by all applicable intellectual
13 * property laws, including trade secret and copyright laws.
14 * Dissemination of this information or reproduction of this material
15 * is strictly forbidden unless prior written permission is obtained
16 * from Adobe Systems Incorporated.
17 **************************************************************************/
18 
28 #ifndef IFCM_STRING_UTILS_H_
29 #define IFCM_STRING_UTILS_H_
30 
31 #include "FCMPreConfig.h"
32 #include "FCMTypes.h"
33 #include "IFCMUnknown.h"
34 
35 
36 /* -------------------------------------------------- Forward Decl */
37 
38 
39 /* -------------------------------------------------- Macros / Constants */
40 
41 namespace FCM
42 {
49  {0x974efcc9, 0xb1e4, 0x4bfa, {0x8e, 0xa3, 0xb9, 0xc4, 0x1f, 0x2a, 0x45, 0xf}};
50 }
51 
52 
53 /* -------------------------------------------------- Enums */
54 
55 
56 /* -------------------------------------------------- Structs / Unions */
57 
58 
59 /* -------------------------------------------------- Class Decl */
60 
61 namespace FCM
62 {
69 
70 
82  virtual FCM::Result _FCMCALL ConvertStringRep8to16(CStringRep8 pStrSrc,FCM::StringRep16& pStrDest)=0;
83 
84 
97  virtual FCM::Result _FCMCALL ConvertStringRep16to8(CStringRep16 pStrSrc,FCM::StringRep8& pStrDest)=0;
98 
100 
101 }; // namespace FCM
102 
103 
104 /* -------------------------------------------------- Inline / Functions */
105 
106 
107 #include "FCMPostConfig.h"
108 
109 #endif //IFCM_STRING_UTILS_H_
This file contains definitions for various data types.
#define BEGIN_DECLARE_INTERFACE(ifx, iid)
Used to begin the interface ifx with ID iid, which inherits from IFCMUnknown.
Definition: FCMMacros.h:147
The definitions contained in this namespace define a framework called Flash Component Model (FCM)...
Definition: IGroup.h:36
FCM::ConstFCMIID FCMIID_IFCMStringUtils
Defines the universally-unique interface ID for IFCMStringUtils.
Definition: IFCMStringUtils.h:48
U_Int16 * StringRep16
Used to define a UTF16 (unicode) encoded string.
Definition: FCMTypes.h:161
This file contains interface for IFCMUnknown. All FCM interfaces inherit from IFCMUnknown. This interface is similar to Microsoft's COM IUnknown. Primary purpose of this interface is to facilitate a way to obtain pointers to other interfaces through QueryInterface method.
#define _FCMCALL
Defines calling convention for interface methods.
Definition: FCMMacros.h:176
U_Int32 Result
Type to define a result. This is usually the return type for most APIs.
Definition: FCMTypes.h:126
Represents a 128 bit or 16-byte GUID (Globally Unique IDentifier) value.
Definition: FCMTypes.h:189
const U_Int16 * CStringRep16
Used to define a constant UTF16 (unicode) encoded string.
Definition: FCMTypes.h:168
Defines the interface for string conversions between StringRep8 and StringRep16.
Definition: IFCMStringUtils.h:68
const char * CStringRep8
Used to define a constant unicode (UTF8) encoded string.
Definition: FCMTypes.h:182
#define END_DECLARE_INTERFACE
Ends an interface.
Definition: FCMMacros.h:165
char * StringRep8
Used to define a unicode (UTF8) encoded string.
Definition: FCMTypes.h:175