readbarcdocument.h

来自「barcode readers [ from Image]」· C头文件 代码 · 共 98 行

H
98
字号
/*
	CReadBarCDocument. Document for the ReadBarC application.
	This code is a derivative work of the SnapShot example
	application distributed with the Symbian 6.0 SDK.
	Copyright (C) 2006  Jon A. Webb

	This program is free software; you can redistribute it and/or
	modify it under the terms of the GNU General Public License
	as published by the Free Software Foundation; either version 2
	of the License, or (at your option) any later version.

	This program is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU General Public License for more details.

	You should have received a copy of the GNU General Public License
	along with this program; if not, write to the Free Software
	Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

*/
#ifndef __READBARCDOCUMENT_H__
#define __READBARCDOCUMENT_H__


#include <eikdoc.h>

// Forward references
class CReadBarCAppUi;
class CEikApplication;


/*! 
  @class CReadBarCDocument
  
  @discussion An instance of class CReadBarCDocument is the Document part of the AVKON
  application framework for the ReadBarC example application
  */
class CReadBarCDocument : public CEikDocument
    {
public:

/*!
  @function NewL
  
  @discussion Construct a CReadBarCDocument for the AVKON application aApp 
  using two phase construction, and return a pointer to the created object
  @param aApp application creating this document
  @result a pointer to the created instance of CReadBarCDocument
  */
    static CReadBarCDocument* NewL(CEikApplication& aApp);

/*!
  @function NewLC
  
  @discussion Construct a CReadBarCDocument for the AVKON application aApp 
  using two phase construction, and return a pointer to the created object
  @param aApp application creating this document
  @result a pointer to the created instance of CReadBarCDocument
  */
    static CReadBarCDocument* NewLC(CEikApplication& aApp);

/*!
  @function ~CReadBarCDocument
  
  @discussion Destroy the object and release all memory objects
  */
    ~CReadBarCDocument();

private:

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

/*!
  @function CReadBarCDocument
  
  @discussion Perform the first phase of two phase construction 
  @param aApp application creating this document
  */
    CReadBarCDocument(CEikApplication& aApp);

/*!
  @function CreateAppUiL 
  
  @discussion Create a CReadBarCAppUi object and return a pointer to it
  @result a pointer to the created instance of the AppUi created
  */
    CEikAppUi* CreateAppUiL();
    };


#endif // __READBARCDOCUMENT_H__

⌨️ 快捷键说明

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