classicui_pub/queries_api/tsrc/inc/testsdkqueriesview.h
changeset 0 2f259fa3e83a
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     1 /*
       
     2 * Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Test queries_api
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef TESTSDKQUERIESVIEW_H
       
    20 #define TESTSDKQUERIESVIEW_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <aknview.h>
       
    24 
       
    25 // CLASS DECLARATION
       
    26 class CTestSDKQueriesContainer;
       
    27 /**
       
    28  *  Ctestsdkqueriesview
       
    29  * 
       
    30  */
       
    31 class CTestSDKQueriesView : public CAknView
       
    32     {
       
    33 public:// Constructors and destructor
       
    34 
       
    35     /**
       
    36      * Destructor.
       
    37      */
       
    38     ~CTestSDKQueriesView( );
       
    39 
       
    40     /**
       
    41      * Two-phased constructor.
       
    42      */
       
    43     static CTestSDKQueriesView* NewL( );
       
    44 
       
    45     /**
       
    46      * Two-phased constructor.
       
    47      */
       
    48     static CTestSDKQueriesView* NewLC( );
       
    49     
       
    50     CTestSDKQueriesContainer* Container();
       
    51 
       
    52 private://from CAknView
       
    53     
       
    54     /*
       
    55      * Id
       
    56      */
       
    57     TUid Id() const;
       
    58     
       
    59     /*
       
    60      * HandleCommandL
       
    61      */
       
    62     void HandldCommandL(TInt aCommand);
       
    63     
       
    64     /*
       
    65      * DoActivateL
       
    66      */
       
    67     void DoActivateL(
       
    68         const TVwsViewId& aPrevViewId,
       
    69         TUid aCustomMessageId,
       
    70         const TDesC8& aCustomMessage );
       
    71     
       
    72     /*
       
    73      * DoDeactivate
       
    74      */
       
    75     void DoDeactivate();
       
    76     
       
    77     /**
       
    78      * Constructor for performing 1st stage construction
       
    79      */
       
    80     CTestSDKQueriesView( );
       
    81 
       
    82     /**
       
    83      * EPOC default constructor for performing 2nd stage construction
       
    84      */
       
    85     void ConstructL( );
       
    86 
       
    87 private: // data
       
    88     /*
       
    89      * iContainer
       
    90      */
       
    91     CTestSDKQueriesContainer* iContainer;
       
    92     
       
    93     /*
       
    94      * The id of view
       
    95      */
       
    96     TUid iId;
       
    97     };
       
    98 
       
    99 #endif // TESTSDKQUERIESVIEW_H
       
   100 
       
   101 //End file
       
   102 
       
   103 
       
   104