# Documentation of the MLV-0.6.705 library

- Presentation
- Downloads
- Installation
- Compilation
- Examples
- API
- List of functions
- bugs
- contacts

# MLV_time.h

    00001 /*
    00002  *   This file is part of the MLV Library.
    00003  *
    00004  *   Copyright (C) 2010,2011,2012 Adrien Boussicault, Marc Zipstein
    00005  *
    00006  *
    00007  *    This Library is free software: you can redistribute it and/or modify
    00008  *    it under the terms of the GNU General Public License as published by
    00009  *    the Free Software Foundation, either version 3 of the License, or
    00010  *    (at your option) any later version.
    00011  *
    00012  *    This Library is distributed in the hope that it will be useful,
    00013  *    but WITHOUT ANY WARRANTY; without even the implied warranty of
    00014  *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    00015  *    GNU General Public License for more details.
    00016  *
    00017  *    You should have received a copy of the GNU General Public License
    00018  *    along with this Library.  If not, see <http://www.gnu.org/licenses/>.
    00019  */
    00020
    00032 #ifndef __MLV__MLV_TIME_H__
    00033 #define __MLV__MLV_TIME_H__
    00034
    00035 #ifdef __cplusplus
    00036 extern "C" {
    00037 #endif
    00038
    00045 void MLV_wait_milliseconds(int milliseconds);
    00046
    00052 void MLV_wait_seconds(int seconds);
    00053
    00059 int MLV_get_time();
    00060
    00083 int MLV_get_date(
    00084         int* seconds, int* minutes, int* hours,
    00085         int* day, int* month, int* year,
    00086         int* day_of_the_week
    00087 );
    00088
    00099 void MLV_change_frame_rate( int rate );
    00100
    00106 int MLV_get_frame_rate( );
    00107
    00113 void MLV_delay_according_to_frame_rate( );
    00114
    00115 #ifdef __cplusplus
    00116 }
    00117 #endif
    00118
    00119 #endif