uifw/EikStd/dlginc/aknformphysics.h
branchRCL_3
changeset 19 aecbbf00d063
parent 17 a1caeb42b3a3
child 20 d48ab3b357f1
equal deleted inserted replaced
18:fcdfafb36fe7 19:aecbbf00d063
     1 /*
     1 /*
     2 * Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    29 class CAknPhysics;
    29 class CAknPhysics;
    30 class CEikDialogPage;
    30 class CEikDialogPage;
    31 class CAknRecordingGc;
    31 class CAknRecordingGc;
    32 
    32 
    33 /**
    33 /**
    34  *  @lib eikdlg.lib
    34  *  ?one_line_short_description
    35  *  @since S60 v5.0
    35  *  ?more_complete_description
       
    36  *
       
    37  *  @code
       
    38  *   ?good_class_usage_example(s)
       
    39  *  @endcode
       
    40  *
       
    41  *  @lib ?library
       
    42  *  @since S60 ?S60_version *** for example, S60 v3.0
    36  */
    43  */
    37 NONSHARABLE_CLASS( CAknFormPhysics ) : public CBase, public MAknPhysicsObserver
    44 NONSHARABLE_CLASS( CAknFormPhysics ) : public CBase, public MAknPhysicsObserver
    38     {
    45     {
    39 public:
    46 public:
    40 
    47 
   200     /**
   207     /**
   201     * Second stage constructor.
   208     * Second stage constructor.
   202     */
   209     */
   203     void ConstructL();
   210     void ConstructL();
   204 
   211 
       
   212     /**
       
   213     * Checks whether panning and flicking are allowed with current world and
       
   214     * view sizes.
       
   215     *
       
   216     * @since S60 v5.0
       
   217     * @return ETrue if allowed.
       
   218     */
       
   219     TBool PhysicsAllowed() const;
       
   220 
   205 private: // data
   221 private: // data
   206     /**
   222     /**
   207     * Center of the "view" (the visible window to the whole form i.e. form's
   223     * Center of the "view" (the visible window to the whole form i.e. form's
   208     * virtual rect).
   224     * virtual rect).
   209     */
   225     */
   232     
   248     
   233     /**
   249     /**
   234     * View size.
   250     * View size.
   235     */
   251     */
   236     TSize iViewSize;
   252     TSize iViewSize;
       
   253     
       
   254     /**
       
   255     * Benchmark timestamp.
       
   256     */
       
   257     TTime iStartTime;
       
   258     
       
   259     /**
       
   260     * Benchmark frame counter.
       
   261     */
       
   262     TInt iFrameCount;
   237     };
   263     };
   238 
   264 
   239 #endif // C_CAKNFORMPHYSICS_H
   265 #endif // C_CAKNFORMPHYSICS_H