Avoid Windows to go into sleep.

This commit is contained in:
Andrea Mazzoleni 2012-06-20 22:37:19 +02:00
parent 50834ee9f2
commit 3449f0afc1
6 changed files with 124 additions and 7 deletions

28
os.h Normal file
View file

@ -0,0 +1,28 @@
/*
* Copyright (C) 2011 Andrea Mazzoleni
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __OS_H
#define __OS_H
/****************************************************************************/
/* os */
void os_init(void);
void os_done(void);
#endif