import type { AppRegistryMeta } from '../../AppRegistry';
import { MonitorSmartphone } from 'lucide-react';
import { DesktopWrapper } from './DesktopWrapper';
import { DesktopHeader } from './DesktopHeader';

export { DesktopView, type DesktopViewProps } from './DesktopView';

export const appRegistryMetas: AppRegistryMeta[] = [
  {
    key: 'officerdev/desktop',
    name: 'Remote Desktop',
    icon: MonitorSmartphone,
    component: DesktopWrapper,
    header: DesktopHeader,
    availableOnPanel: false,
    // noVNC scales the remote framebuffer itself and maps pointer coordinates against that; a wrapping
    // CSS transform would leave every click landing somewhere other than where it was aimed.
    zoomable: false,
  },
];
