<?xml version="1.0" encoding="UTF-8"?>
<!-- The Glugg add-in for Outlook (docs/addins.md): a button on a new appointment that adds a Glugg
     meeting link, made in a dialog on meet.glugg.no (web/app.js ?addin=outlook) by commands.js.
     Raise <Version> with every change sent to Microsoft. -->
<OfficeApp xmlns="http://schemas.microsoft.com/office/appforoffice/1.1"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0"
           xmlns:mailappor="http://schemas.microsoft.com/office/mailappversionoverrides/1.0"
           xsi:type="MailApp">
  <Id>c483b9de-c5b7-4faa-b19c-03bcaa85e3ed</Id>
  <Version>1.0.1.0</Version>
  <ProviderName>Bogentech</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="Glugg">
    <Override Locale="nb-NO" Value="Glugg"/>
  </DisplayName>
  <Description DefaultValue="Add a Glugg video meeting link to your appointments with one click. Calls are end-to-end encrypted.">
    <Override Locale="nb-NO" Value="Legg til en lenke til et Glugg-videomøte i avtalene dine med ett klikk. Samtalene er ende-til-ende-kryptert."/>
  </Description>
  <IconUrl DefaultValue="https://meet.glugg.no/outlook/icon-64.png"/>
  <HighResolutionIconUrl DefaultValue="https://meet.glugg.no/outlook/icon-128.png"/>
  <SupportUrl DefaultValue="https://meet.glugg.no/outlook">
    <Override Locale="nb-NO" Value="https://meet.glugg.no/outlook"/>
  </SupportUrl>
  <AppDomains>
    <AppDomain>https://meet.glugg.no</AppDomain>
  </AppDomains>
  <Hosts>
    <Host Name="Mailbox"/>
  </Hosts>
  <Requirements>
    <Sets>
      <Set Name="Mailbox" MinVersion="1.3"/>
    </Sets>
  </Requirements>
  <FormSettings>
    <Form xsi:type="ItemEdit">
      <DesktopSettings>
        <SourceLocation DefaultValue="https://meet.glugg.no/outlook/commands.html"/>
      </DesktopSettings>
    </Form>
  </FormSettings>
  <Permissions>ReadWriteItem</Permissions>
  <Rule xsi:type="RuleCollection" Mode="Or">
    <Rule xsi:type="ItemIs" ItemType="Appointment" FormType="Edit"/>
  </Rule>
  <DisableEntityHighlighting>false</DisableEntityHighlighting>

  <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">
    <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">
      <Description resid="description"/>
      <Requirements>
        <bt:Sets DefaultMinVersion="1.3">
          <bt:Set Name="Mailbox"/>
        </bt:Sets>
      </Requirements>
      <Hosts>
        <Host xsi:type="MailHost">
          <!-- Outlook on the web, the new Outlook, classic Outlook on Windows, and Mac. -->
          <DesktopFormFactor>
            <FunctionFile resid="commands"/>
            <ExtensionPoint xsi:type="AppointmentOrganizerCommandSurface">
              <OfficeTab id="TabDefault">
                <Group id="gluggGroup">
                  <Label resid="group"/>
                  <Control xsi:type="Button" id="gluggButton">
                    <Label resid="button"/>
                    <Supertip>
                      <Title resid="button"/>
                      <Description resid="tip"/>
                    </Supertip>
                    <Icon>
                      <bt:Image size="16" resid="icon16"/>
                      <bt:Image size="32" resid="icon32"/>
                      <bt:Image size="80" resid="icon80"/>
                    </Icon>
                    <Action xsi:type="ExecuteFunction">
                      <FunctionName>glugg</FunctionName>
                    </Action>
                  </Control>
                </Group>
              </OfficeTab>
            </ExtensionPoint>
          </DesktopFormFactor>
          <!-- Outlook on iOS and Android: Glugg as the meeting's online-meeting provider, in grey as Outlook asks. -->
          <MobileFormFactor>
            <FunctionFile resid="commands"/>
            <ExtensionPoint xsi:type="MobileOnlineMeetingCommandSurface">
              <Control xsi:type="MobileButton" id="gluggMobileButton">
                <Label resid="button"/>
                <Icon>
                  <bt:Image size="25" scale="1" resid="m25"/>
                  <bt:Image size="25" scale="2" resid="m50"/>
                  <bt:Image size="25" scale="3" resid="m75"/>
                  <bt:Image size="32" scale="1" resid="m32"/>
                  <bt:Image size="32" scale="2" resid="m64"/>
                  <bt:Image size="32" scale="3" resid="m96"/>
                  <bt:Image size="48" scale="1" resid="m48"/>
                  <bt:Image size="48" scale="2" resid="m96"/>
                  <bt:Image size="48" scale="3" resid="m144"/>
                </Icon>
                <Action xsi:type="ExecuteFunction">
                  <FunctionName>glugg</FunctionName>
                </Action>
              </Control>
            </ExtensionPoint>
          </MobileFormFactor>
        </Host>
      </Hosts>
      <Resources>
        <bt:Images>
          <bt:Image id="icon16" DefaultValue="https://meet.glugg.no/outlook/icon-16.png"/>
          <bt:Image id="icon32" DefaultValue="https://meet.glugg.no/outlook/icon-32.png"/>
          <bt:Image id="icon80" DefaultValue="https://meet.glugg.no/outlook/icon-80.png"/>
          <bt:Image id="m25" DefaultValue="https://meet.glugg.no/outlook/mobile-25.png"/>
          <bt:Image id="m32" DefaultValue="https://meet.glugg.no/outlook/mobile-32.png"/>
          <bt:Image id="m48" DefaultValue="https://meet.glugg.no/outlook/mobile-48.png"/>
          <bt:Image id="m50" DefaultValue="https://meet.glugg.no/outlook/mobile-50.png"/>
          <bt:Image id="m64" DefaultValue="https://meet.glugg.no/outlook/mobile-64.png"/>
          <bt:Image id="m75" DefaultValue="https://meet.glugg.no/outlook/mobile-75.png"/>
          <bt:Image id="m96" DefaultValue="https://meet.glugg.no/outlook/mobile-96.png"/>
          <bt:Image id="m144" DefaultValue="https://meet.glugg.no/outlook/mobile-144.png"/>
        </bt:Images>
        <bt:Urls>
          <bt:Url id="commands" DefaultValue="https://meet.glugg.no/outlook/commands.html"/>
        </bt:Urls>
        <bt:ShortStrings>
          <bt:String id="group" DefaultValue="Glugg">
            <bt:Override Locale="nb-NO" Value="Glugg"/>
          </bt:String>
          <bt:String id="button" DefaultValue="Glugg meeting">
            <bt:Override Locale="nb-NO" Value="Glugg-møte"/>
          </bt:String>
        </bt:ShortStrings>
        <bt:LongStrings>
          <bt:String id="description" DefaultValue="Add a Glugg video meeting link to your appointments.">
            <bt:Override Locale="nb-NO" Value="Legg til en lenke til et Glugg-videomøte i avtalene dine."/>
          </bt:String>
          <bt:String id="tip" DefaultValue="Add a link to a new Glugg video meeting, named after this appointment.">
            <bt:Override Locale="nb-NO" Value="Legg til en lenke til et nytt Glugg-videomøte, med navnet på denne avtalen."/>
          </bt:String>
        </bt:LongStrings>
      </Resources>
    </VersionOverrides>
  </VersionOverrides>
</OfficeApp>
