readbarcappui.h

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

H
104
字号
/*
	ReadBarCAppUi. User interface for 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 __READBARCAPPUI_H__
#define __READBARCAPPUI_H__

#include <aknappui.h>

class CReadBarCAppView;

/*! 
  @class CReadBarCAppUi
  
  @discussion An instance of class CReadBarCAppUi is the User Interface part of the AVKON
  application framework for the ReadBarC example application
  */
class CReadBarCAppUi : public CAknAppUi
    {
public:
/*!
  @function ConstructL
  
  @discussion Perform the second phase construction of a CReadBarCAppUi object.
  This needs to be public due to the way the framework constructs the AppUi 
  */
    void ConstructL();

/*!
  @function CReadBarCAppUi
  
  @discussion Perform the first phase of two phase construction.
  This needs to be public due to the way the framework constructs the AppUi 
  */
    CReadBarCAppUi();


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


private: // from CEikAppUi
/*!
  @function HandleCommandL
  
  @discussion Handle user menu selections
  @param aCommand the enumerated code for the option selected
  */
    void HandleCommandL(TInt aCommand);

private: // from CAknAppUi
/*!
  @function HelpContextL
  
  @discussion Return the help context for this application
  @result A pointer to the help context
  */
    CArrayFix<TCoeHelpContext>* HelpContextL() const;

/*!
  @function DynInitMenuPaneL
  
  @discussion Determine if the 'Take Picture' operation is available and set menu 
  accordingly
  @param aResourceId resource ID of the menu pane to be initialised
  @param aMenuPane the in-memory representation of the menu pane
  */
    void DynInitMenuPaneL(TInt aResourceId, CEikMenuPane* aMenuPane);

private:
	/*!
	  @var inSavePicture Count for save picture Easter egg 
	  */
	TInt inSavePicture;

    /** The application view */
    CReadBarCAppView* iAppView;
    };


#endif // __READBARCAPPUI_H__

⌨️ 快捷键说明

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