⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 oplconv.h

📁 在手机操作系统symbina上使用的一个脚本扩展语言的代码实现,可以参考用于自己的开发
💻 H
字号:
// OPLCONV.H
//
// Copyright (c) 1997-1999 Symbian Ltd.  All rights reserved.
//

class TCoerce
	{
public:
	static TInt ToWord(TInt16 &aWord,TInt32 aLong);
	static TInt ToWord(TInt16 &aWord,const TReal &aDouble);
	static TInt ToUWord(TUint16 &aWord,TInt32 aLong);
	static TInt ToUWord(TUint16 &aWord,const TReal &aDouble);
	static TInt ToLong(TInt32 &aLong,TInt16 aWord);
	static TInt ToLong(TInt32 &aLong,const TReal &aDouble);
	static TInt ToDouble(TReal &aDouble,TInt16 aWord);
	static TInt ToDouble(TReal &aDouble,TInt32 aLng);
	static TInt ToDouble(TReal &aDouble,const TDesC &aStr);
	static TInt HexToLong(TInt32 &aLong,const TDesC &aStr); // should be HexStrToDbl()
	static TInt ToHexString(TDes &aStr,TInt32 aLong);  
	static TInt ToString(TDes &aStr,const TReal &aDouble);  
// 	static void ToTBuf8(TBuf8<0x100> &aStr,const TUint8 *aOplStr);
// 	static void ToOplStr(TUint8 *aOplStr,const TBuf8<0x100> &aStr);
	};
	

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -