/***************************************************************************
                          resource.h  -  description
                             -------------------
    begin                : sam oct 16 15:28:00 CEST 1999
    copyright            : (C) 1999 by François Dupoux
    email                : dupoux@dupoux.com
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   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.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef RESOURCE_H
#define RESOURCE_H

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

///////////////////////////////////////////////////////////////////
// resource.h  -- contains macros used for commands


///////////////////////////////////////////////////////////////////
// General application values
#define ID_STATUS_MSG               1001

#define TAB_FILES                   0
#define TAB_TEXT                    1
#define TAB_DATESIZE                2
#define TAB_OPTIONS                 3

#define OPERATION_SEARCH	1
#define OPERATION_REPLACE	2

#define MAX_MESSAGE                 128
#define MAX_TEXTLEN                 256
#define MAX_STRINGSINCOMBO          10		// Number of items in the combo boxes
#define MAX_STRINGSTOSEARCHREP      256

#define OPTIONS_DEFAULT_RECURSIVE		              true		
#define OPTIONS_DEFAULT_BACKUP			              true
#define OPTIONS_DEFAULT_CASESENSITIVE		          false
#define OPTIONS_DEFAULT_FOLLOWSYMLINKS            false
#define OPTIONS_DEFAULT_WILDCARDS			              false
#define OPTIONS_DEFAULT_VARIABLES	                false
#define OPTIONS_DEFAULT_ALLSTRINGSMUSTBEFOUND     false
#define OPTIONS_DEFAULT_CONFIRMFILES	            false
#define OPTIONS_DEFAULT_CONFIRMSTRINGS	          false
#define OPTIONS_DEFAULT_CONFIRMDIRS		            false
#define OPTIONS_DEFAULT_WILDCARDSINREPLACESTR	      false
#define OPTIONS_DEFAULT_SYMBOLFORWILDCARDSLETTERS	  '?'
#define OPTIONS_DEFAULT_SYMBOLFORWILDCARDSWORDS	    '*'
#define OPTIONS_DEFAULT_MAXIMUMWILDCARDEXPLENGTH	    100
#define OPTIONS_DEFAULT_HALTONFIRSTOCCUR	        false
#define OPTIONS_DEFAULT_IGNOREWHITESPACES	        false
#define OPTIONS_DEFAULT_IGNOREHIDDEN              false

///////////////////////////////////////////////////////////////////
// Create cases for entries and connect them with their functions
#define ON_CMD(id, cmd_class_function)		case id:cmd_class_function ;break;
#define ON_STATUS_MSG(id, message)				case id:slotStatusHelpMsg(message);break;


#endif // RESOURCE_H

