00001 /*! \file SurcoucheTemp.h 00002 \brief Surcouche pour temp. 00003 00004 Redéfinie tout un tas de fonctions système pour les rendre portables unix et windows. 00005 00006 \author aerith (www.aerith.fr) 00007 \version 1.0 00008 \date 24/02/2007 00009 */ 00010 00011 #ifndef INCLUDE_RSRC_PORTAGE_TEMP 00012 #define INCLUDE_RSRC_PORTAGE_TEMP 00013 00014 00015 #include <stdlib.h> 00016 00017 #ifdef WIN32 00018 #include <windows.h> 00019 #else 00020 #include <unistd.h> 00021 #endif 00022 00023 00024 //! Attend un certain delai 00025 /*! Fait rentrée la tache en cour d'éxécution en attente pendant \a Delai ms. 00026 \param Delai nombre de milliseconde a attendre 00027 */ 00028 void TempWait(unsigned int Delai); 00029 00030 00031 #endif 00032