aboutsummaryrefslogtreecommitdiffstats
path: root/src/location-manual.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/location-manual.h')
-rw-r--r--src/location-manual.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/location-manual.h b/src/location-manual.h
index 389294d..e70d9cf 100644
--- a/src/location-manual.h
+++ b/src/location-manual.h
@@ -14,7 +14,7 @@
You should have received a copy of the GNU General Public License
along with Redshift. If not, see <http://www.gnu.org/licenses/>.
- Copyright (c) 2010 Jon Lund Steffensen <jonlst@gmail.com>
+ Copyright (c) 2010-2014 Jon Lund Steffensen <jonlst@gmail.com>
*/
#ifndef REDSHIFT_LOCATION_MANUAL_H
@@ -22,10 +22,11 @@
#include <stdio.h>
+#include "redshift.h"
+
typedef struct {
- float lat;
- float lon;
+ location_t loc;
} location_manual_state_t;
@@ -37,8 +38,8 @@ void location_manual_print_help(FILE *f);
int location_manual_set_option(location_manual_state_t *state,
const char *key, const char *value);
-int location_manual_get_location(location_manual_state_t *state, float *lat,
- float *lon);
+int location_manual_get_location(location_manual_state_t *state,
+ location_t *loc);
#endif /* ! REDSHIFT_LOCATION_MANUAL_H */