|
QGIS API Documentation
master-6227475
|
00001 /* 00002 * Copyright Tim (xtimor@gmail.com) 00003 * 00004 * NMEA library is free software; you can redistribute it and/or modify 00005 * it under the terms of the GNU Lesser General Public License as published by 00006 * the Free Software Foundation; either version 2 of the License, or 00007 * (at your option) any later version. 00008 * 00009 * This program is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU Lesser General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU Lesser General Public License 00015 * along with this program. If not, see <http://www.gnu.org/licenses/> 00016 */ 00017 /* 00018 * 00019 * NMEA library 00020 * URL: http://nmea.sourceforge.net 00021 * Author: Tim (xtimor@gmail.com) 00022 * Licence: http://www.gnu.org/licenses/lgpl.html 00023 * $Id: time.h 4 2007-08-27 13:11:03Z xtimor $ 00024 * 00025 */ 00026 00029 #ifndef __NMEA_TIME_H__ 00030 #define __NMEA_TIME_H__ 00031 00032 #include "config.h" 00033 00034 #ifdef __cplusplus 00035 extern "C" 00036 { 00037 #endif 00038 00043 typedef struct _nmeaTIME 00044 { 00045 int year; 00046 int mon; 00047 int day; 00048 int hour; 00049 int min; 00050 int sec; 00051 int msec; 00053 } nmeaTIME; 00054 00058 void nmea_time_now( nmeaTIME *t ); 00059 00060 #ifdef __cplusplus 00061 } 00062 #endif 00063 00064 #endif /* __NMEA_TIME_H__ */