csvfileloaderobserver.h

来自「最新官方例子,图形,描述副,基本控件,通讯协议,等等,」· C头文件 代码 · 共 43 行

H
43
字号
#ifndef CSVFILELOADEROBSERVER_H
#define CSVFILELOADEROBSERVER_H

// INCLUDES

// System includes
#include <e32def.h>

// FORWARD DECLARATIONS
class CCsvFileLoader;

// CLASS DECLARATION

/**
*
* @class	MCsvFileLoaderObserver csvfileloaderobserver.h
* @brief	Mixin to provide progress and completion feedback when loading a list of elements
*			from a comma separated value (csv) file.
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*/

class MCsvFileLoaderObserver
	{
public:
	/**
	* Notify the observer that an element has just be successfully loaded
	* @param aNewElementIndex the index of the newly loaded element
	*/
	virtual void NotifyElementLoaded(TInt aNewElementIndex) = 0;
	/**
	* Notify the observer that a csv file load has completed--successfully or otherwise
	* @param aCompletionStatus the system wide error code on completion--KErrNone if successful
	* @param aLoader reference to the loader that has completed for identification purposes.
	*/
	virtual void NotifyLoadCompleted(TInt aCompletionStatus, const CCsvFileLoader& aLoader) = 0;
	};

#endif // #ifndef CSVFILELOADEROBSERVER_H

// End of File

⌨️ 快捷键说明

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