<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>Untitled Page</title>
		<meta http-equiv="content-type" content="text/html;charset=utf-8" />
		<meta name="generator" content="Adobe GoLive" />
	</head>
	<body>
		<hr/>
		<p><b>ADOBE SYSTEMS INCORPORATED</b></p>
		<p>Copyright 2000 - 2004 Adobe Systems Incorporated<br/>
				 All Rights Reserved</p>
		<p>NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms of the Adobe license agreement accompanying it. If you have received this file from a source other than Adobe, then your use, modification, or distribution of it requires the prior written permission of Adobe.</p>
		<hr/>
		<p><b>Extension Name:</b> VCSp4</p>
		<p><b>Folder name:</b> VCSp4</p>
		<p><b>Author: </b><i>Patrick Wollek</i></p>
		<hr/>
		<p><b>Description:</b></p>
		<p>This extensions gives you the ability to use Perforce ® as the VCS for the site management.</p>
		<hr/>
		<p><b>Module Definition:</b></p>
		<jsxmodule name="VCS Perforce" info="This extensions gives you the ability to use Perforce ® as the VCS for the site management." name="value" debug="true"/>
		<p><b>Custom settings panel:</b></p>
		<jsxvcs name="p4golive" title="Perforce" features="foldercontent users">
			<jsxview name="vcstest" halign="scale" valign="scale" height="80" width="325">
				<jsxcontrol name="staticPort" type="static" value="Port" posx="0" posy="5" width="75" height="20"/>
				<jsxcontrol name="editPort" type="edit" value="1666" posx="75" posy="0" width="100" height="20" onChange="true"/>
				<jsxcontrol name="staticSpec" type="static" value="Client Spec" posx="0" posy="30" width="75" height="20"/>
				<jsxcontrol name="editSpec" type="edit" value="" posx="75" posy="30" width="150" height="20"/>
				<jsxcontrol name="btnSpecs" type="button" value="..." posx="230" posy="30" width="40" height="19"/>
			</jsxview>
		</jsxvcs>
		<p><b>Client Specifications dialog:</b></p>
		<jsxdialog name="dlgChooseSpec" title="Client Specifications" width="170" height="85">
			<jsxcontrol type="popup" name="specPopup" posx="10" posy="10" height="20" width="150" halign="scale"/>
			<jsxcontrol type="button" name="dialogok" posx="60" posy="50" width="50" height="20" value="OK" />
		</jsxdialog>
		<p><b>Scripts:</b></p>
		<p>
			<script type="text/javascript"><!--

function initializeModule()
{
	removelogfile();

	//
	// UI event handler
	//	

	// initialize panel 
	app.vcs['p4golive'].addEventListener( 'vcsInitializePanel', vcsInitializePanel );
	// write back panel values to settings
	app.vcs['p4golive'].addEventListener( 'vcsTerminatePanel', vcsTerminatePanel );
	// dis/enable next button of wizard
	app.vcs['p4golive'].addEventListener( 'vcsCheckSettings', vcsCheckSettings );
	// choose perforce client spec
	app.vcs['p4golive'].addEventListener( 'onClick', vcsButtonClick );

	//
	// VCS event handler
	//
	
	// new Perforce site
	app.vcs['p4golive'].addEventListener( 'vcsNew', vcsNew );
	// login
	app.vcs['p4golive'].addEventListener( 'vcsLogin', vcsLogin );
	// logout
	app.vcs['p4golive'].addEventListener( 'vcsLogout', vcsLogout );
	// get head revisions
	app.vcs['p4golive'].addEventListener( 'vcsHeadRev', vcsHeadRev );
	// get revision
	app.vcs['p4golive'].addEventListener( 'vcsRev', vcsRev );
	// set given files as new headrevision
	app.vcs['p4golive'].addEventListener( 'vcsResetRev', vcsResetRev );
	// get file(s) status
	app.vcs['p4golive'].addEventListener( 'vcsStatus', vcsStatus );
	// open for edit
	app.vcs['p4golive'].addEventListener( 'vcsCheckOut', vcsCheckOut );
	// revert open files
	app.vcs['p4golive'].addEventListener( 'vcsRevert', vcsRevert );
	// check-in files
	app.vcs['p4golive'].addEventListener( 'vcsCheckIn', vcsCheckIn );
	// add new files to depot
	app.vcs['p4golive'].addEventListener( 'vcsAdd', vcsAdd );
	// delete file in depot
	app.vcs['p4golive'].addEventListener( 'vcsRemove', vcsRemove );
	// rename file
	app.vcs['p4golive'].addEventListener( 'vcsRename', vcsRename );
	// list folder content
	app.vcs['p4golive'].addEventListener( 'vcsFolderContent', vcsFolderContent );
	// get revisions of file
	app.vcs['p4golive'].addEventListener( 'vcsRevisions', vcsRevisions );
	// copy file to tmp
	app.vcs['p4golive'].addEventListener( 'vcsCopy', vcsCopy );
	// get users list
	app.vcs['p4golive'].addEventListener( 'vcsUsers', vcsUsers );
	// get user data
	app.vcs['p4golive'].addEventListener( 'vcsUserData', vcsUserData );
}

//-->
</script>
			<script type="text/javascript" src="vcs.js"></script>
			<script type="text/javascript" src="ui.js"></script>
			<script type="text/javascript" src="p4.js"></script>
			<script type="text/javascript" src="../Shared/Adobe/ADOBE_debug.js"></script>
			<script type="text/javascript" src="utils.js"></script>
		</p>
	</body>
</html>