changed license to GPL v2
[livewp] / applet / src / livewp-astro.h
index 6bb25d1..8ec5fae 100644 (file)
@@ -6,8 +6,8 @@
  *       for the code
  * 
  * This software is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public License
- * as published by the Free Software Foundation; either version 2.1 of
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2 of
  * the License, or (at your option) any later version.
  * 
  * This software is distributed in the hope that it will be useful, but
@@ -31,5 +31,10 @@ double jd(int year, int month, int day, double uu);
 double altitude(double lon, double lat, int year, int month, int day, int hour, int min, int zone);
 double azimuth(double lon, double lat, int year, int month, int day, int hour, int min, int zone);
 double moon_phase(int year, int month, int day);
+void sun_rise_set(double lon, double lat, 
+             int year, int month, int day, 
+             int zone,
+             int * hourrise, int *minrise, int *hourset, int *minset);
+
 /*******************************************************************************/
 #endif