Sophie

Sophie

distrib > Mandriva > 2011.0 > i586 > media > contrib-release-debug > by-pkgid > af7a932234cbb7dcb182ed13fe323774 > files > 19

etswitch-debug-0.1.14-9mdv2011.0.i586.rpm

/********************************************************************

    This file is part of ETSwitch
    Copyright (C) 2004, 2005, 2006  Nicklas Larsson - etswitch@gmail.com - All rights reserved.

    etswitch - switch to desktop

    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; version 2 of the License.

    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

********************************************************************/

/* $Id: $ */
#ifndef __READ_WID_H__
#define __READ_WID_H__

typedef struct {
    char *WMNAME;
    char *iconname;		
    char *res_name;		
    char *res_class;		
    char *known_binary;				/* known binary to renice */
    int tweak;					/* special tweak is needed in engine */

/* struct info */
    int id;
    char *next_struct;
    char *first_struct;
} wid_info_struct;

wid_info_struct *wid;				/* global wid array */



void writewid_conf(void);			/* write default wid */
void readwid_conf(void);			/* read wid */
void readwid_internal_conf(void);		/* read internal */

void loopie(wid_info_struct *old);		/* test loop */

void free_array(wid_info_struct *old);		/* frees the array */
wid_info_struct *ex2(wid_info_struct *old);	/* mallocs array items */

#endif /* __READ_WID_H__ */