<?xml version="1.0" encoding="UTF-8"?>
<ExtensionManifest Version="5.0" ExtensionBundleId="com.adobe.preview" ExtensionBundleVersion="1.0.0"
        ExtensionBundleName="Adobe Preview" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <ExtensionList>
        <Extension Id="com.adobe.preview.loader" Version="1.0.0" />
        <Extension Id="com.adobe.preview.panel" Version="1.0.0" />
    </ExtensionList>
    <ExecutionEnvironment>
        <HostList>
            <!-- Photoshop CC2015 = 16.0 -->
            <Host Name="PHXS" Version="[16.0,16.9]" />
            <Host Name="PHSP" Version="[16.0,16.9]" />
        </HostList>
        <LocaleList>
            <Locale Code="All" />
        </LocaleList>
        <RequiredRuntimeList>
            <RequiredRuntime Name="CSXS" Version="6.0" />
        </RequiredRuntimeList>
    </ExecutionEnvironment>
    <DispatchInfoList>
        <Extension Id="com.adobe.preview.loader">
            <DispatchInfo >
                <Resources>
                    <MainPath>./PSLoader/loader.html</MainPath>
                    <ScriptPath>./common/jsx/hostscript.jsx</ScriptPath>
                </Resources>
                <!-- this extension should load on PS launch but not display any UI -->
                <Lifecycle>
                    <!-- don't display any UI when the extension loads -->
                    <AutoVisible>false</AutoVisible>
                    <StartOn>
                        <!-- launch the extension on startup.  Define a couple to ensure it's launched. -->
                        <Event>applicationActivate</Event>
                        <Event>com.adobe.csxs.events.ApplicationActivate</Event>
                        <!-- PS on Windows isn't consistently firing the above events on launch.
                             To ensure that we're launched, also start on the following -->
                        <Event>com.adobe.csxs.events.AppOnline</Event>
                        <Event>documentAfterActivate</Event>
                    </StartOn>
                </Lifecycle>
                <!-- required as an extension, even for a "hidden" extension -->
                <UI>
                    <Type>Custom</Type>
                    <Geometry>
                        <Size>
                            <Height>1</Height>
                            <Width>1</Width>
                        </Size>
                    </Geometry>
                </UI>
            </DispatchInfo>
        </Extension>
        <Extension Id="com.adobe.preview.panel">
            <DispatchInfo >
                <Resources>
                <MainPath>./PSPanel/panel.html</MainPath>
                <ScriptPath>./common/jsx/hostscript.jsx</ScriptPath>
                </Resources>
                <Lifecycle>
                    <AutoVisible>true</AutoVisible>
                </Lifecycle>
                <UI>
                    <Type>Panel</Type>
                    <Menu>Device Preview</Menu>
                    <Geometry>
                        <Size>
                            <Height>300</Height>
                            <Width>300</Width>
                        </Size>
                        <MinSize>
                            <Height>286</Height>
                            <Width>206</Width>
                        </MinSize>
                        <!--<MaxSize>
                            <Height>550</Height>
                            <Width>400</Width>
                        </MaxSize>-->

                    </Geometry>
                    <Icons>
                        <Icon Type="Normal">./PSPanel/icons/SP_x2_PL_AdobePreview_N.png</Icon>
                        <Icon Type="RollOver">./PSPanel/icons/SP_x2_PL_AdobePreview_N.png</Icon>
                        <Icon Type="Disabled">./PSPanel/icons/SP_x2_PL_AdobePreview_N.png</Icon>
                        <Icon Type="DarkNormal">./PSPanel/icons/SP_x2_PL_AdobePreview_N_D.png</Icon>
                        <Icon Type="DarkRollOver">./PSPanel/icons/SP_x2_PL_AdobePreview_N_D.png</Icon>
                    </Icons>
                </UI>
            </DispatchInfo>
        </Extension>
    </DispatchInfoList>
</ExtensionManifest>
