# Documentación de la biblioteca MLV-2.0.2

- Presentación
- Descargar
- Instalación
- Compilatción
- Ejemplos
- API
- Lista de las subrutinas
- bugs
- FAQ
- Contactos

MLV_time.h
1 /*
2 * This file is part of the MLV Library.
3 *
4 * Copyright (C) 2010,2011,2012 Adrien Boussicault, Marc Zipstein
5 *
6 *
7 * This Library is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This Library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this Library. If not, see <http://www.gnu.org/licenses/>.
19 */
20
32 #ifndef __MLV__MLV_TIME_H__
33 #define __MLV__MLV_TIME_H__
34
35 #ifdef __cplusplus
36 extern "C" {
37 #endif
38
45 void MLV_wait_milliseconds(int milliseconds);
46
52 void MLV_wait_seconds(int seconds);
53
59 int MLV_get_time();
60
83 int MLV_get_date(
84 int* seconds, int* minutes, int* hours,
85 int* day, int* month, int* year,
86 int* day_of_the_week
87 );
88
99 void MLV_change_frame_rate( int rate );
100
106 int MLV_get_frame_rate( );
107
113 void MLV_delay_according_to_frame_rate( );
114
115 #ifdef __cplusplus
116 }
117 #endif
118
119 #endif