<?php
	/**************************************************************************\
	* eGroupWare - PHPBrain                                                    *
	* http://www.egroupware.org                                                *
	* --------------------------------------------                             *
	*  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.                                              *
	\**************************************************************************/

	/* Basic information about this app */
	$setup_info['workflow']['name']			= 'workflow';
	$setup_info['workflow']['title']		= 'Workflow management';
	$setup_info['workflow']['version']		= '1.2.01.006';
	$setup_info['workflow']['app_order']		= 10;
	$setup_info['workflow']['enable']		= 1;
	$setup_info['workflow']['author']		= 'Ported from tikiwiki, modified by regis_glc alpeb & mbartz';
	$setup_info['workflow']['note']			= 'Workflow engine';
	$setup_info['workflow']['license']		= 'GPL';
	$setup_info['workflow']['description']		= 'Workflow management';
	$setup_info['workflow']['maintainer']		= 'Regis Leroy';
	$setup_info['workflow']['maintainer_email']	= 'regis.leroy AT glconseil DOT com';
	$setup_info['workflow']['tables']		= array(
								'egw_wf_activities', 
								'egw_wf_activity_roles', 
								'egw_wf_instance_activities', 
								'egw_wf_instances', 
								'egw_wf_processes', 
								'egw_wf_roles', 
								'egw_wf_instance_supplements', 
								'egw_wf_transitions', 
								'egw_wf_user_roles',
								'egw_wf_workitems',
								'egw_wf_process_config',
								'egw_wf_activity_agents',
								'egw_wf_agent_mail_smtp',
							);

	/* The hooks this app includes, needed for hooks registration */
	$setup_info['workflow']['hooks'][] = 'about';
	$setup_info['workflow']['hooks'][] = 'admin';
	$setup_info['workflow']['hooks'][] = 'add_def_pref';
	$setup_info['workflow']['hooks'][] = 'config';
	$setup_info['workflow']['hooks'][] = 'manual';
	$setup_info['workflow']['hooks'][] = 'preferences';
	$setup_info['workflow']['hooks'][] = 'settings';
	$setup_info['workflow']['hooks'][] = 'sidebox_menu';
	$setup_info['workflow']['hooks'][] = 'acl_manager';
	$setup_info['workflow']['hooks'][] = 'deleteaccount';

	/* Dependencies for this app to work */ 
	$setup_info['workflow']['depends'][] = array(
		'appname' => 'phpgwapi',
		'versions' => Array('1.0.1','1.2')
	);
	$setup_info['workflow']['depends'][] = array(
		'appname' => 'preferences',
		'versions' => Array('1.2')
	);
?>
