Documentation of the MLV-0.6.713 library

MLV_device_with_buttons.h

00001 /*
00002  *   This file is part of the MLV Library.
00003  *
00004  *   Copyright (C) 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 
00033 #ifndef __MLV__MLV_DEVICE_WITH_BUTTONS_H__
00034 #define __MLV__MLV_DEVICE_WITH_BUTTONS_H__
00035 
00036 #ifdef __cplusplus
00037 extern "C" {
00038 #endif
00039 
00043 typedef enum {
00044         MLV_PRESSED, 
00045         MLV_RELEASED 
00046 } MLV_Button_state;
00047 
00048 
00049 #ifdef __cplusplus
00050 }
00051 #endif
00052 
00053 #endif