Page principale | Structures de données | Liste des fichiers | Champs de donnée | Portée globale

calc.h

Aller à la documentation de ce fichier.
00001 /*#################################################################################### 00002 # This Code is part of the libg100 library : http://libg100.sf.net # 00003 # # 00004 # THIS LIBRARY IS DISTRIBUTED "AS IS". # 00005 # NO WARRANTY OF ANY KIND IS EXPRESSED OR IMPLIED. # 00006 # YOU USE AT YOUR OWN RISK. # 00007 # THE AUTHOR WILL NOT BE LIABLE FOR DATA LOSS, DAMAGES, # 00008 # LOSS OF PROFITS OR ANY OTHER KIND OF LOSS # 00009 # WHILE USING OR MISUSING THIS LIBRARY. # 00010 # # 00011 # This library is Distributed in LGPL License, read lgpl.txt or go to : # 00012 # http://opensource.org/licenses/lgpl-license.php # #/ 00013 ####################################################################################*/ 00014 00022 #ifndef __CALC_H__ 00023 #define __CALC_H__ 00024 00025 #include "defines.h" 00026 00032 #define NUMBER_SAVE 4 00033 00036 #define desactint9() desactint(0x9,0) 00037 00039 #define actint9() actint(0x9,0) 00040 00042 #define desact_APO() desactint(0x4A,1) 00043 00045 #define act_APO() actint(0x4A,1) 00046 00050 void shutcalc (); 00051 00055 void int_shutcalc(); 00056 00061 void temps (unsigned long j); 00062 00067 unsigned char get_calctype(); 00068 00074 void desactint (unsigned char intrp, unsigned char pos); 00075 00082 void actint (unsigned char intrp, unsigned char pos); 00083 00089 unsigned char get_time(unsigned char what); 00090 00097 unsigned char set_time(unsigned char what, unsigned char time); 00098 00107 unsigned short get_date(unsigned short what, unsigned short jours); 00108 00115 unsigned short set_date(unsigned short year, unsigned short month, unsigned short days); 00116 00117 #endif /* __CALC_H__ */
Copyright 2004 The Libg100 Team
Sourceforge Project - LGPL Licensing