?? bencoolensettingslistbox.h
字號(hào):
/*
* BencoolenSettingsListBox.h
*
* Copyright 2005 - 2008, Antony Pranata
* http://www.antonypranata.com
*
* Project: Screenshot for Symbian OS
* Header file to define constants used in the user interface.
*
* 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 3 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, see <http://www.gnu.org/licenses/>.
*/
#ifndef BENCOOLENSETTINGSLISTBOX_H
#define BENCOOLENSETTINGSLISTBOX_H
// INCLUDES
#include <symbianvariant.h>
#include <AknSettingItemList.h>
#include "Bencoolen.hrh"
// FORWARD DECLARATIONS
class CScreenShotData;
// CLASS DECLARATION
/**
* CBencoolenSettingsListBox container control class to create
* setting item list.
*/
class CBencoolenSettingsListBox: public CAknSettingItemList
{
public: // From CAknSettingItemList
/**
* Creates SettingItem.
* @param identifier
* @return pointer to CAknSettingItem object
*/
CAknSettingItem* CreateSettingItemL(TInt identifier);
/**
* Sets List's item data.
* @param aData data to set
*/
void SetData(CScreenShotData* aScreenShotData);
/**
* Update iData with the value entered by the users.
* This function has to be called when the users have
* modified the file name or directory name.
* This is needed because we cannot use the reference to
* the file name and directory name of CScreenShotData
* directly.
*/
void UpdateData();
#if (__S60__ >= 203)
/**
* Called by framework when the layout or screen size is changed.
*/
void HandleResourceChange(TInt aType);
#endif
private: // From CCoeControl
/**
* Called by framework when the size is changed.
*/
void SizeChanged();
private: // Data
CScreenShotData* iScreenShotData; // not owned by this class
TBuf<KTextMaxLength> iDirectory;
TBuf<KTextMaxLength> iFileName;
};
#endif // BENCOOLENSETTINGSLISTBOX_H
// End of File
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -