/*
 * $RCSfile: device_discover.h,v $  $Revision: 1.2 $  $Name:  $
 * $Id: device_discover.h,v 1.2 2006/10/04 05:21:44 bpaauwe Exp $
 * $Author: bpaauwe $
 * $Date: 2006/10/04 05:21:44 $
 * ----------------------------------------------------------------------------
 *
 *  Copyright (c) Bob Paauwe (2006)
 *
 *  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, write to the Free Software Foundation, Inc.,
 *  59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 *
 * ----------------------------------------------------------------------------
 *
 *  Description:
 *    Header file for device discovery dialog box.
 * ----------------------------------------------------------------------------
 */
#ifndef _DEVICE_DISCOVERY_H
#define _DEVICE_DISCOVERY_H

#include <gtk/gtk.h>
#include "scenes.h"

extern ilib_t *iplc; /* device handle */
extern unsigned char need_to_save;

extern scene_t *scene_list;
extern device_t device_array[2000];
extern int last_device;

extern void free_combo_boxes();
extern void populate_combo_boxes();
extern void ilink_add_device(int index);

GtkWidget *dd_dialog;
GtkWidget *dd_start;
GtkWidget *dd_device_id;
GtkWidget *dd_device_type;
GtkWidget *dd_firmware;
GtkWidget *dd_name;
GtkWidget *dd_add;

void on_device_discovery_activate(GtkWidget *widget, gpointer user_data);
void on_dd_start_clicked(GtkWidget *widget, gpointer user_data);
void on_dd_add_clicked(GtkWidget *widget, gpointer user_data);
void on_dd_close_clicked(GtkWidget *widget, gpointer user_data);


#endif
