亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? bookstoreappui.h

?? 一個手機書店應用程序
?? H
字號:
/*
 * ============================================================================
 *  Name     : CBookstoreAppUi from BookstoreAppui.h
 *  Part of  : Bookstore
 *  Created  : 8.12.2003 by Forum Nokia
 *  Version  : 1.0
 *  Copyright: Nokia Corporation
 * ============================================================================
 */

#ifndef __BOOKSTOREAPPUI_H__
#define __BOOKSTOREAPPUI_H__

#include <aknappui.h>
#include "DBEngine.h"

// Forward declarations
class CBookstoreAppView;
class CBookstoreListboxView;
class CBookEditorView;
class CDesC16ArrayFlat;

// Name of database file in the application directory
_LIT(KDatabaseFile,"bookstore.dat");


/**
 * Class: CEComCalculatorAppUi
 *
 * Description: An instance of class CBookstoreAppUi is the UserInterface
 *              part of the AVKON application framework for the Bookstore
 *              example application.
 *
 *              The relevant part of this example is the database engine class
 *              CBookstoreDb in DBEngine.h. The GUI is only a simple tester
 *              for the engine.
 */
class CBookstoreAppUi : public CAknAppUi
    {
public:

    /**
     * Function:    ConstructL
     *
     * Description: Perform the second phase construction of a
     *              CBookstoreAppUi object. This needs to be public due to
     *              the way the framework constructs the AppUi.
     */
    void ConstructL();

    /**
     * Function:    CBookstoreAppUi
     *
     * Description: Perform the first phase of two phase construction. This
     *              needs to be public due to the way the framework constructs
     *              the AppUi.
     */
    CBookstoreAppUi();


    /**
     * Function:    ~CBookstoreAppUi
     *
     * Description: Destructor of the object
     */
    ~CBookstoreAppUi();


public: // from CAknAppUi

    /**
     * Function:    DynInitMenuPaneL
     *
     * Description: Dynamically determine what menu items are visible, when
     *              the menu is shown. This method is called by the framework
     *              just before the menu is shown.
     *
     * Param:       aResourceId menu pane resource id. Identifies the menu
     *              pane (this example has only one, so not relevant)
     *
     * Param:       aMenuPane The in-memory representation of the menu pane
     */
    void DynInitMenuPaneL(TInt aResourceId, CEikMenuPane* aMenuPane);


    /**
     * Function:    HandleCommandL
     *
     * Description: Handle user menu selections
     *
     * Param:       aCommand the enumerated code for the menu option selected.
     */
    void HandleCommandL(TInt aCommand);

private: // Menu command helpers

    /**
     * Function:    OpenDatabaseL
     *
     * Description: Create instance of iBookstoreDb and open existing database.
     *              The database will be ready for operations.
     */
    void OpenDatabaseL();

    /**
     * Function:    CreateDatabaseL
     *
     * Description: Create instance of iBookstoreDb and create new database.
     *              The database will be ready for operations.
     */
    void CreateDatabaseL();

    /**
     * Function:    RemoveDatabaseL
     *
     * Description: Detele existing database. Removes the database file.
     */
    void RemoveDatabaseL();

    /**
     * Function:    CloseDatabaseL
     *
     * Description: Close an open database. Database opened with OpenDatabaseL
     *              or CreateDatabaseL must be closed, when not used any more.
     */
    void CloseDatabaseL();

    /**
     * Function:    ShowBookEditorView
     *
     * Description: Show a book editor. User can give in book details.
     */
    void ShowBookEditorView();

    /**
     * Function:    AddBookL
     *
     * Description: Adds a book to database. Queries book details from the
     *              book editor view.
     *
     * Param:       aUseSql determines the CBookstoreDb method used for
     *              insertion (uses sql or proprietary DBMS API).
     */
    void AddBookL(TBool aUseSql);

    /**
     * Function:    RemoveBookL
     *
     * Description: Remove selected book from the database. The selection is
     *              done from the lisbox having book titles. If there are
     *              multiple matches for the selected book title, they are all
     *              are removed.
     */
    void RemoveBookL();

    /**
     * Function:    RemoveAllBooksL
     *
     * Description: Remove all books from database.
     */
    void RemoveAllBooksL();

    /**
     * Function:    UpdateBookTitleL
     *
     * Description: Change the title for a selected book.
     */
    void UpdateBookTitleL();

    /**
     * Function:    ShowAllBooksL
     *
     * Description: Get list of all books from database. Show the books
     *              using the list view.
     */
    void ShowAllBooksL();

    /**
     * Function:    SearchBooksL
     *
     * Description: Query user for a book title and find matching books.
     *              Show the result in the lisbox view.
     */
    void SearchBooksL();

    /**
     * Function:    IndexFindL
     *
     * Description: Find a book using index. The method finds book details
     *              for the book currently selected in the listbox view.
     *              Show the full book info in raw format.
     */
    void IndexFindL();

    /**
     * Function:    AddDateColumn
     *
     * Description: Add a date column to bookstore database. Show the columns.
     *              This is here just to demonstrate schema updates.
     */
    void AddDateColumn();

    /**
     * Function:    RemoveDateColumn
     *
     * Description: Remove the date column from bookstore database. Show the
     *              columns after removal. This is here just to demonstrate
     *              schema updates.
     */
    void RemoveDateColumn();

    /**
     * Function:    ShowColumns
     *
     * Description: Show all columns in the bookstore database in Books table.
     */
    void ShowColumns();

private: // Other helpers

    /**
     * Function:    ApplicationDriveAndPath
     *
     * Description: Retrieve full path of the application.
     */
    TFileName ApplicationDriveAndPath() const;

    /** View states */
    enum TViewId
        {
        ENone,          // On the startup there is no view
        EMainView,      // Main view initially visible.
        EBookListView,  // Showing list of books
        EColumnsView,   // Showing columns of Books table
        EBookEditorView // For adding a new book to database
        };

    /**
     * Function:    ChangeView
     *
     * Description: Switches the view. Deletes previous view and creates new
     */
    void ChangeView(TViewId aNewView);

    /**
     * Function:    ShowNoteL
     *
     * Description: Show simple information note.
     */
    void ShowNoteL(const TDesC& aMessage) const;

    /**
     * Function:    TitlesArrayL
     *
     * Description: Construct array of book titles. Take in a aFullInfoArray,
     *              which contains full info for the books. Parse the titles
     *              and append them to result array.
     */
    CDesCArrayFlat* TitlesArrayL(const CDesCArrayFlat* aFullInfoArray) const;

    /**
     * Function:    QueryTextL
     *
     * Description: Provide simple text query.
     */
    TBool QueryTextL(TDesC& aPrompt, TDes& aResultText) const;

private:

    TViewId iCurrentView;

    /** The main view of application               */
    CBookstoreAppView* iAppView;

    /** List box view to show list of books        */
    CBookstoreListboxView* iListboxView;

    /** Editor view to allow user input for a book */
    CBookEditorView* iBookEditorView;

    /** The database engine                        */
    CBookstoreDb* iBookstoreDb;

    /** Full path to database file                 */
    TFileName     iDatabaseFile;
    };


#endif // __BOOKSTOREAPPUI_H__

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产91综合一区在线观看| 色一区在线观看| 91热门视频在线观看| 日韩一区二区三区视频在线 | 亚洲精品成人精品456| 国产主播一区二区三区| 欧美日韩你懂得| 中文字幕在线观看一区| 国产一区二区日韩精品| 欧美丰满高潮xxxx喷水动漫| 1024精品合集| 成人午夜精品在线| 久久综合999| 蜜桃视频在线观看一区二区| 欧美视频在线一区二区三区 | 精品999久久久| 视频在线在亚洲| 在线亚洲人成电影网站色www| 国产肉丝袜一区二区| 美女一区二区视频| 日韩一区二区三区四区| 午夜视频一区在线观看| 在线观看av一区| 亚洲宅男天堂在线观看无病毒| 不卡在线视频中文字幕| 国产日韩v精品一区二区| 久久 天天综合| 欧美成人性福生活免费看| 麻豆久久一区二区| 日韩一区二区三区视频在线 | 亚洲mv在线观看| 欧美三级日韩三级| 婷婷激情综合网| 欧美一级欧美一级在线播放| 亚洲小少妇裸体bbw| 欧美精品自拍偷拍| 美女www一区二区| 久久综合久久鬼色中文字| 国产精品888| 国产精品天美传媒沈樵| 99久久婷婷国产精品综合| 亚洲免费看黄网站| 欧美日韩精品一区二区三区| 亚洲品质自拍视频网站| 欧美色窝79yyyycom| 视频一区二区中文字幕| 欧美一区二区观看视频| 激情久久五月天| 亚洲丝袜美腿综合| 欧美日韩成人综合在线一区二区| 日韩国产成人精品| 欧美一级久久久| 国产成人三级在线观看| 亚洲男人的天堂在线观看| 欧美日韩国产综合久久| 国产在线看一区| 国产精品色哟哟| 欧美少妇bbb| 国产高清视频一区| 亚洲一区二区三区激情| 欧美一区二区网站| 国产成人av影院| 亚洲夂夂婷婷色拍ww47| 久久免费午夜影院| 欧美主播一区二区三区美女| 玖玖九九国产精品| 亚洲视频在线一区| 欧美色区777第一页| 国产精品99久久久久久似苏梦涵 | 久久成人18免费观看| 国产精品九色蝌蚪自拍| 欧美精品乱人伦久久久久久| 国产一区福利在线| 亚洲主播在线观看| 国产午夜精品理论片a级大结局| 欧美亚洲综合色| 国产91精品久久久久久久网曝门| 亚洲午夜久久久| 国产精品素人视频| 精品国产污网站| 欧美日韩高清一区二区三区| 成人午夜激情片| 麻豆一区二区三区| 午夜影院在线观看欧美| 一区在线播放视频| 精品免费国产一区二区三区四区| 91国产丝袜在线播放| 国产精品主播直播| 奇米色一区二区| 亚洲国产综合在线| 亚洲欧美国产毛片在线| 国产欧美精品国产国产专区| 56国语精品自产拍在线观看| 91视频www| 成人av在线影院| 国产米奇在线777精品观看| 人人精品人人爱| 亚洲成人av一区二区| 亚洲欧美日韩系列| 国产精品国产精品国产专区不蜜| 精品久久久久99| 欧美一级夜夜爽| 日韩欧美一级二级三级久久久| 欧美日韩在线亚洲一区蜜芽| 欧美综合亚洲图片综合区| aa级大片欧美| 色综合久久88色综合天天| 91香蕉视频mp4| 99久久精品久久久久久清纯| 粉嫩欧美一区二区三区高清影视 | 国产精品久久午夜| 国产欧美在线观看一区| 久久人人97超碰com| 日韩欧美你懂的| 精品sm捆绑视频| 久久久国产综合精品女国产盗摄| 久久久精品免费网站| 久久中文娱乐网| 26uuu欧美| 国产精品美女久久久久aⅴ国产馆| 国产女人aaa级久久久级| 亚洲欧洲无码一区二区三区| 中文字幕一区二区三区不卡| 中文字幕一区二| 亚洲图片自拍偷拍| 青青国产91久久久久久| 国产综合色产在线精品| 北岛玲一区二区三区四区| 91在线视频官网| 欧美做爰猛烈大尺度电影无法无天| 欧美制服丝袜第一页| 欧美日韩黄色影视| www精品美女久久久tv| 国产精品色呦呦| 亚洲777理论| 国模大尺度一区二区三区| 国产成人高清在线| 在线免费观看不卡av| 欧美一级爆毛片| 中文字幕亚洲视频| 全部av―极品视觉盛宴亚洲| 国产乱国产乱300精品| 99精品视频一区二区| 欧美久久久久久久久| 国产视频在线观看一区二区三区| 亚洲精品一卡二卡| 捆绑变态av一区二区三区| 99视频在线观看一区三区| 欧美猛男超大videosgay| 久久久精品影视| 午夜精品久久一牛影视| 懂色av一区二区夜夜嗨| 欧美日韩你懂得| 久久久久青草大香线综合精品| 亚洲欧美韩国综合色| 亚洲h在线观看| 99r精品视频| 日韩欧美国产综合| 亚洲码国产岛国毛片在线| 久久精品国产精品亚洲精品| 色婷婷亚洲综合| 国产网站一区二区三区| 五月婷婷另类国产| 成人免费毛片嘿嘿连载视频| 欧美一区二区三区精品| 亚洲另类春色校园小说| 国产精品一区久久久久| 欧美精品日韩一本| 亚洲精品中文字幕乱码三区| 国产一区二区不卡| 91精品国产综合久久久蜜臀粉嫩| 国产欧美一区二区精品仙草咪| 亚洲不卡一区二区三区| 成人黄色一级视频| 久久天堂av综合合色蜜桃网| 日韩不卡一二三区| 在线精品视频小说1| 国产精品国产馆在线真实露脸| 极品少妇xxxx精品少妇偷拍| 欧美精品 国产精品| 亚洲伦理在线精品| 91网址在线看| 亚洲日韩欧美一区二区在线| 岛国一区二区在线观看| 精品国产123| 久久精品国产免费| 91精品国产色综合久久不卡电影 | 久久综合狠狠综合久久激情 | 日韩欧美国产精品| 亚洲国产另类精品专区| 91蜜桃免费观看视频| 欧美国产日韩精品免费观看| 国产乱人伦偷精品视频不卡 | 国产精品 欧美精品| 久久影院视频免费| 精品夜夜嗨av一区二区三区| 欧美一区二区三区啪啪| 奇米亚洲午夜久久精品| 日本欧美久久久久免费播放网| 日本午夜精品视频在线观看|