mirror of
https://github.com/csete/gpredict
synced 2026-08-13 17:39:46 -04:00
Added files.
git-svn-id: https://gpredict.svn.sourceforge.net/svnroot/gpredict/trunk@35 ab6734ba-2843-0410-b83b-99c217ef6c0f
This commit is contained in:
parent
c4c8effb71
commit
4cd0fa9353
2 changed files with 99 additions and 0 deletions
65
src/rot-ctrl-window.c
Normal file
65
src/rot-ctrl-window.c
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
Gpredict: Real-time satellite tracking and orbit prediction program
|
||||
|
||||
Copyright (C) 2001-2007 Alexandru Csete, OZ9AEC.
|
||||
|
||||
Authors: Alexandru Csete <oz9aec@gmail.com>
|
||||
|
||||
Comments, questions and bugreports should be submitted via
|
||||
http://sourceforge.net/projects/groundstation/
|
||||
More details can be found at the project home page:
|
||||
|
||||
http://groundstation.sourceforge.net/
|
||||
|
||||
This program is free software; you can redistribute it and/or 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 program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, visit http://www.fsf.org/
|
||||
*/
|
||||
#include <gtk/gtk.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include "sat-log.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include <build-config.h>
|
||||
#endif
|
||||
|
||||
#incude "rot-ctrl-window.h"
|
||||
|
||||
|
||||
/** \brief Open rotator control window */
|
||||
void rot_ctrl_window_open ()
|
||||
{
|
||||
if (window_is_open) {
|
||||
/* window may be hidden so bring it to front */
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/* create the window */
|
||||
|
||||
}
|
||||
|
||||
/** \brief Close rotator control window */
|
||||
void rot_ctrl_window_close (void);
|
||||
{
|
||||
if (window_is_open) {
|
||||
|
||||
}
|
||||
else {
|
||||
sat_log_log (SAT_LOG_LEVEL_BUG,
|
||||
_("%s: Rotor control window is not open!"),
|
||||
__FUNCTION__);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
34
src/rot-ctrl-window.h
Normal file
34
src/rot-ctrl-window.h
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
Gpredict: Real-time satellite tracking and orbit prediction program
|
||||
|
||||
Copyright (C) 2001-2007 Alexandru Csete, OZ9AEC.
|
||||
|
||||
Authors: Alexandru Csete <oz9aec@gmail.com>
|
||||
|
||||
Comments, questions and bugreports should be submitted via
|
||||
http://sourceforge.net/projects/groundstation/
|
||||
More details can be found at the project home page:
|
||||
|
||||
http://groundstation.sourceforge.net/
|
||||
|
||||
This program is free software; you can redistribute it and/or 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 program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, visit http://www.fsf.org/
|
||||
*/
|
||||
#ifndef ROT_CTRL_WINDOW_H
|
||||
#define ROT_CTRL_WINDOW_H 1
|
||||
|
||||
void rot_ctrl_window_open (void);
|
||||
void rot_ctrl_window_close (void);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue