2009-02-19 13:02:17 +0100 af r268275 : #i93945# Stop forcing long into sal_Int32. 2009-01-16 15:24:01 +0100 af r266424 : CWS-TOOLING: rebase CWS impress162 to trunk@265758 (milestone: DEV300:m38) 2008-11-21 15:17:22 +0100 af r264143 : CWS-TOOLING: rebase CWS impress162 to trunk@263288 (milestone: DEV300:m35) 2008-11-20 16:29:33 +0100 af r264067 : Merge in latest fixes to the cws command. 2008-11-20 16:25:36 +0100 af r264066 : Merge in latest fixes to the cws command. 2008-11-20 14:37:15 +0100 af r264054 : Merge in latest fixes to the cws command. 2008-11-20 14:01:36 +0100 af r264051 : Resolved merge conflicts. 2008-11-20 14:01:16 +0100 af r264050 : Resolved merge conflicts. 2008-11-19 15:45:05 +0100 af r263998 : Migrate CWS impress162 to SVN.
57 lines
1.8 KiB
C++
57 lines
1.8 KiB
C++
/*************************************************************************
|
|
*
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
*
|
|
* Copyright 2008 by Sun Microsystems, Inc.
|
|
*
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
|
*
|
|
* $RCSfile: framerate.hxx,v $
|
|
* $Revision: 1.1.2.1 $
|
|
*
|
|
* This file is part of OpenOffice.org.
|
|
*
|
|
* OpenOffice.org is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU Lesser General Public License version 3
|
|
* only, as published by the Free Software Foundation.
|
|
*
|
|
* OpenOffice.org 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 Lesser General Public License version 3 for more details
|
|
* (a copy is included in the LICENSE file that accompanied this code).
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
* version 3 along with OpenOffice.org. If not, see
|
|
* <http://www.openoffice.org/license.html>
|
|
* for a copy of the LGPLv3 License.
|
|
*
|
|
************************************************************************/
|
|
|
|
#ifndef INCLUDED_SLIDESHOW_FRAMERATE_HXX
|
|
#define INCLUDED_SLIDESHOW_FRAMERATE_HXX
|
|
|
|
#include <sal/types.h>
|
|
|
|
namespace slideshow { namespace internal {
|
|
|
|
/** Some frame rate related data.
|
|
*/
|
|
class FrameRate
|
|
{
|
|
public:
|
|
/** The minimum number of frames per second is used to calculate the
|
|
minimum number of frames that is to be shown for active activities.
|
|
*/
|
|
static const sal_Int32 MinimumFramesPerSecond = 10;
|
|
|
|
/** Aim high with the number of preferred number of frames per second.
|
|
This number is the maximum as well and the true number will be lower.
|
|
*/
|
|
static const sal_Int32 PreferredFramesPerSecond = 50;
|
|
};
|
|
|
|
} } // end of namespace slideshow::internal
|
|
|
|
#endif
|