kr_canceloption.h

来自「这是法国Kaleido公司提供了一个手机mmi设计平台」· C头文件 代码 · 共 46 行

H
46
字号
/*
* Created on 30 apr. 2004
*
* @author DigitalAirways (c) 2004
* 
* This software is the confidential and proprietary information of
* DigitalAirways, sarl. ("Confidential Information").  You shall not
* disclose such Confidential Information and shall use it only in
* accordance with the terms of the license agreement you entered into
* with DigitalAirways.
* A copy of this license is included in the licence.txt file included
* in this software package.
*
* 
*/

#ifndef __KR_CANCELOPTION__
#define __KR_CANCELOPTION__

#include "KR_ActionOption.h"

class CancelOption : public ActionOption 
{
private:
public:
	INSTANCIATOR(CancelOption);		
	DEFINE_NEW(CancelOption);
	DEFINE_DELETE(CancelOption);

	CancelOption(GContext* newGContext) : ActionOption(newGContext) {;} 

	virtual boolean isHandleAccept()
	{
		return true;
	}

	virtual	void doAccept()
	{
		//			Verbose( VERB_LEV_DEBUG, "BUILT-IN CancelOption has been accepted in group %s (%ld/%ld).\n", fGroup->fName, fGroupId, fGroupIndex) ;
		getPage()->closeAccepted();
		Option::doAccept() ;
	}			
} ;

#endif // ndef __KR_CANCELOPTION__

⌨️ 快捷键说明

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