/ src / sat-vis.h
sat-vis.h
 1  /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 2  /*
 3      Gpredict: Real-time satellite tracking and orbit prediction program
 4  
 5      Copyright (C)  2001-2009  Alexandru Csete, OZ9AEC.
 6  
 7      Authors: Alexandru Csete <oz9aec@gmail.com>
 8  
 9      Comments, questions and bugreports should be submitted via
10      http://sourceforge.net/projects/gpredict/
11      More details can be found at the project home page:
12  
13              http://gpredict.oz9aec.net/
14   
15      This program is free software; you can redistribute it and/or modify
16      it under the terms of the GNU General Public License as published by
17      the Free Software Foundation; either version 2 of the License, or
18      (at your option) any later version.
19    
20      This program is distributed in the hope that it will be useful,
21      but WITHOUT ANY WARRANTY; without even the implied warranty of
22      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23      GNU General Public License for more details.
24    
25      You should have received a copy of the GNU General Public License
26      along with this program; if not, visit http://www.fsf.org/
27  */
28  #ifndef SAT_VISIBILITY_H
29  #define SAT_VISIBILITY_H
30  
31  
32  #include <glib.h>
33  #include <glib/gi18n.h>
34  #include "sgpsdp/sgp4sdp4.h"
35  #include "gtk-sat-data.h"
36  
37  
38  
39  /** \brief Satellite visibility. */
40  typedef enum {
41       SAT_VIS_NONE = 0,     /*!< Unknown/undefined. */
42       SAT_VIS_VISIBLE,      /*!< Visible. */
43       SAT_VIS_DAYLIGHT,     /*!< Satellite is in daylight. */
44       SAT_VIS_ECLIPSED,     /*!< Satellite is eclipsed. */
45       SAT_VIS_NUM
46  } sat_vis_t;
47  
48  
49  
50  
51  
52  sat_vis_t  get_sat_vis (sat_t *sat, qth_t *qth, gdouble jul_utc);
53  gchar      vis_to_chr  (sat_vis_t vis);
54  gchar     *vis_to_str  (sat_vis_t vis);
55  
56  #endif