/*
 * $RCSfile: controlinc.h,v $  $Revision: 1.3 $  $Name:  $
 * $Id: controlinc.h,v 1.3 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 Controlinc configuration dialog box.
 * ----------------------------------------------------------------------------
 */
#ifndef _CONTROLINC_H
#define _ONTROLINCE_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;

GtkWidget *cl_dialog;
GtkWidget *cl_selector;
GtkWidget *cl_beep;
GtkWidget *cl_led;
GtkWidget *cl_progress;
GtkWidget *cl_x10b1;
GtkWidget *cl_x10b2;
GtkWidget *cl_x10b3;
GtkWidget *cl_x10b4;
GtkWidget *cl_x10b5;
GtkWidget *cl_x10u1;
GtkWidget *cl_x10u2;
GtkWidget *cl_x10u3;
GtkWidget *cl_x10u4;
GtkWidget *cl_x10u5;
GtkWidget *cl_x10[5][3];

void on_cfg_controlinc_activate(GtkWidget *widget, gpointer user_data);
void on_cl_selector_changed(GtkWidget *widget, gpointer user_data);
void on_cl_apply_clicked(GtkWidget *widget, gpointer user_data);
void on_cl_cancel_clicked(GtkWidget *widget, gpointer user_data);
void on_cl_ok_clicked(GtkWidget *widget, gpointer user_data);
void on_cl_dialog_delete_event(GtkWidget *widget, gpointer user_data);


#endif
