uifw/EikStd/dlginc/aknformphysics.h
branchRCL_3
changeset 17 a1caeb42b3a3
parent 0 2f259fa3e83a
child 19 aecbbf00d063
equal deleted inserted replaced
15:c52421ed5f07 17:a1caeb42b3a3
     1 /*
     1 /*
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2009-2010 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  *  ?one_line_short_description
    34  *  @lib eikdlg.lib
    35  *  ?more_complete_description
    35  *  @since S60 v5.0
    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
       
    43  */
    36  */
    44 NONSHARABLE_CLASS( CAknFormPhysics ) : public CBase, public MAknPhysicsObserver
    37 NONSHARABLE_CLASS( CAknFormPhysics ) : public CBase, public MAknPhysicsObserver
    45     {
    38     {
    46 public:
    39 public:
    47 
    40 
   207     /**
   200     /**
   208     * Second stage constructor.
   201     * Second stage constructor.
   209     */
   202     */
   210     void ConstructL();
   203     void ConstructL();
   211 
   204 
   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 
       
   221 private: // data
   205 private: // data
   222     /**
   206     /**
   223     * Center of the "view" (the visible window to the whole form i.e. form's
   207     * Center of the "view" (the visible window to the whole form i.e. form's
   224     * virtual rect).
   208     * virtual rect).
   225     */
   209     */
   248     
   232     
   249     /**
   233     /**
   250     * View size.
   234     * View size.
   251     */
   235     */
   252     TSize iViewSize;
   236     TSize iViewSize;
   253     
       
   254     /**
       
   255     * Benchmark timestamp.
       
   256     */
       
   257     TTime iStartTime;
       
   258     
       
   259     /**
       
   260     * Benchmark frame counter.
       
   261     */
       
   262     TInt iFrameCount;
       
   263     };
   237     };
   264 
   238 
   265 #endif // C_CAKNFORMPHYSICS_H
   239 #endif // C_CAKNFORMPHYSICS_H