genbookmark.h.svn-base

来自「S60 2nd环境下往手机中添加wap浏览器书签的例子。」· SVN-BASE 代码 · 共 70 行

SVN-BASE
70
字号
/* Copyright (c) 2006, Nokia. All rights reserved */
/* developed by wayne chen, entel corp. */
/* date : 2006.08.22 */

#include <e32base.h>

/*! 
  @class CGenBookmark
  
  @discussion An instance of class CGenBookmark is the user class created by the exe framework
  */
class CGenBookmark : public CBase
    {
public:

/*!
  @function NewL
  
  @discussion Construct a CGenBookmark object using two phase construction, 
  and return a pointer to the created object
  @result a pointer to the created instance of CGenBookmark
  */
    static CGenBookmark* NewL();

/*!
  @function NewLC
  
  @discussion Construct a CGenBookmark object using two phase construction,
  and return a pointer to the created object
  @result a pointer to the created instance of CGenBookmark
  */
	static CGenBookmark* NewLC();

/*!
  @function DoFunctionL
  
  @discussion This is the function called by the exe framework once the class has been created
  */
	void DoFunctionL();
	TBool AddBookmark(TDesC& MarkName, TDesC& MarkUri) ; 
	void ConvGbk2Uni(TDesC8& original, TDes& res) ; 
	TBool RemoveFile(TDesC & fname)  ; 
	TBool CheckFileExist(TDesC & fname) ; 

/*!
  @function ~CGenBookmark
  
  @discussion Destroy the object
  */
    ~CGenBookmark();

private:

/*!
  @function ConstructL
  
  @discussion Perform the second phase construction of a CGenBookmark object
  */
	void ConstructL();

/*!
  @function CGenBookmark
  
  @discussion Perform the first phase of two phase construction 
  */	
	CGenBookmark();

private:
    };

⌨️ 快捷键说明

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