opltbas.h

来自「在手机操作系统symbina上使用的一个脚本扩展语言的代码实现,可以参考用于自己」· C头文件 代码 · 共 39 行

H
39
字号
// OPLTBAS.H
//
// Copyright (c) 1997-1999 Symbian Ltd.  All rights reserved.
//

// The public interface classes to the OPL translator objects.

#ifndef __OPLTBAS_H__
#define __OPLTBAS_H__

#include <e32base.h>
#include <texttran.h>
#include <opltdef.h>


// App callback. The owner is called back if the source file turns out
// to contain an APP...ENDA construct. Allows the owner to change the
// name of the output file.

class MTranAppCB
   {
public:
   virtual void OplTargetIsAppL(TFileName& aName)=0;
   };

//
//  COplTranslatorBase defines the interface used by OplEdit
//

class COplTranslatorBase : public CTextTranslator
	{
public:
	virtual void LocateErrorL(MTextSourceSystem& aTextSystem,const TFileName& aSourceName,const TFileName& aTargetName,CTextTranslator::TDebugFlag aDebugFlag,TSourceTranslateError& anError,TInt aLineNumber)=0;
	virtual void SetAppCB(MTranAppCB *anAppCB)=0;
	virtual void SetTarget(TOplTranTarget aTarget)=0;
	};


#endif

⌨️ 快捷键说明

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