mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
Update namespaces.
This commit is contained in:
parent
73db96e8b1
commit
81641afe06
@ -1,4 +1,4 @@
|
||||
using Immense.RemoteControl.Desktop.Shared.Native.Windows;
|
||||
using Remotely.Desktop.Shared.Native.Windows;
|
||||
using Microsoft.AspNetCore.SignalR.Client;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Hosting;
|
||||
|
||||
@ -1,13 +1,10 @@
|
||||
using Immense.RemoteControl.Shared;
|
||||
using Remotely.Shared;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Remotely.Shared;
|
||||
using Remotely.Shared.Models;
|
||||
using Remotely.Shared.Utilities;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text.Json;
|
||||
|
||||
namespace Remotely.Agent.Services;
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
using Immense.RemoteControl.Shared.Extensions;
|
||||
using Remotely.Shared.Extensions;
|
||||
using Microsoft.AspNetCore.SignalR.Client;
|
||||
using Microsoft.Extensions.Hosting;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
using Immense.RemoteControl.Desktop.Shared.Native.Windows;
|
||||
using Remotely.Desktop.Shared.Native.Windows;
|
||||
using Microsoft.AspNetCore.SignalR.Client;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Remotely.Agent.Interfaces;
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
using Immense.RemoteControl.Desktop.Shared.Native.Windows;
|
||||
using Remotely.Desktop.Shared.Native.Windows;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Remotely.Agent.Interfaces;
|
||||
using Remotely.Shared.Dtos;
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<ApplicationIcon>Assets\favicon.ico</ApplicationIcon>
|
||||
<AssemblyName>Remotely_Desktop</AssemblyName>
|
||||
<RootNamespace>Remotely.Desktop.XPlat</RootNamespace>
|
||||
<RootNamespace>Remotely.Desktop.Linux</RootNamespace>
|
||||
<Platforms>AnyCPU;x64;x86</Platforms>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
|
||||
@ -1,19 +1,16 @@
|
||||
using Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
using System.Threading.Tasks;
|
||||
using Remotely.Desktop.Shared.Abstractions;
|
||||
using System.Threading;
|
||||
using System;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Remotely.Shared.Services;
|
||||
using Immense.RemoteControl.Desktop.Shared.Services;
|
||||
using Remotely.Desktop.Shared.Services;
|
||||
using System.Diagnostics;
|
||||
using Remotely.Shared.Utilities;
|
||||
using Immense.RemoteControl.Desktop.Shared.Startup;
|
||||
using System.Linq;
|
||||
using Immense.RemoteControl.Desktop.Linux.Startup;
|
||||
using Immense.RemoteControl.Desktop.UI.Services;
|
||||
using Remotely.Desktop.Shared.Startup;
|
||||
using Remotely.Desktop.Linux.Startup;
|
||||
using Remotely.Desktop.UI.Services;
|
||||
using Avalonia;
|
||||
using Immense.RemoteControl.Desktop.UI;
|
||||
using Remotely.Desktop.UI;
|
||||
using Desktop.Shared.Services;
|
||||
|
||||
namespace Remotely.Desktop.XPlat;
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
using Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
using Immense.RemoteControl.Desktop.Shared.Enums;
|
||||
using Immense.RemoteControl.Desktop.Shared.Services;
|
||||
using Immense.RemoteControl.Desktop.UI.Services;
|
||||
using Immense.RemoteControl.Shared.Models;
|
||||
using Remotely.Desktop.Shared.Abstractions;
|
||||
using Remotely.Desktop.Shared.Enums;
|
||||
using Remotely.Desktop.Shared.Services;
|
||||
using Remotely.Desktop.UI.Services;
|
||||
using Remotely.Shared.Models;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Linux.Services;
|
||||
namespace Remotely.Desktop.Linux.Services;
|
||||
|
||||
internal class AppStartup : IAppStartup
|
||||
{
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
using Remotely.Desktop.Shared.Abstractions;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Linux.Services;
|
||||
namespace Remotely.Desktop.Linux.Services;
|
||||
|
||||
public class AudioCapturerLinux : IAudioCapturer
|
||||
{
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
using Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
using Immense.RemoteControl.Shared.Models;
|
||||
using Remotely.Desktop.Shared.Abstractions;
|
||||
using Remotely.Shared.Models;
|
||||
using System.Drawing;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Linux.Services;
|
||||
namespace Remotely.Desktop.Linux.Services;
|
||||
|
||||
public class CursorIconWatcherLinux : ICursorIconWatcher
|
||||
{
|
||||
|
||||
@ -1,15 +1,15 @@
|
||||
using Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
using Immense.RemoteControl.Desktop.Shared.Services;
|
||||
using Immense.RemoteControl.Desktop.Shared.ViewModels;
|
||||
using Remotely.Desktop.Shared.Abstractions;
|
||||
using Remotely.Desktop.Shared.Services;
|
||||
using Remotely.Desktop.Shared.ViewModels;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using System.Collections.Concurrent;
|
||||
using Immense.RemoteControl.Desktop.UI.Controls.Dialogs;
|
||||
using Immense.RemoteControl.Desktop.UI.Views;
|
||||
using Immense.RemoteControl.Desktop.UI.Services;
|
||||
using Remotely.Desktop.UI.Controls.Dialogs;
|
||||
using Remotely.Desktop.UI.Views;
|
||||
using Remotely.Desktop.UI.Services;
|
||||
using System.Threading;
|
||||
using System.IO;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Linux.Services;
|
||||
namespace Remotely.Desktop.Linux.Services;
|
||||
|
||||
public class FileTransferServiceLinux : IFileTransferService
|
||||
{
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
using Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
using Immense.RemoteControl.Desktop.Shared.Enums;
|
||||
using Immense.RemoteControl.Desktop.Shared.Native.Linux;
|
||||
using Immense.RemoteControl.Desktop.Shared.Services;
|
||||
using Remotely.Desktop.Shared.Abstractions;
|
||||
using Remotely.Desktop.Shared.Enums;
|
||||
using Remotely.Desktop.Shared.Native.Linux;
|
||||
using Remotely.Desktop.Shared.Services;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Linux.Services;
|
||||
namespace Remotely.Desktop.Linux.Services;
|
||||
|
||||
public class KeyboardMouseInputLinux : IKeyboardMouseInput
|
||||
{
|
||||
|
||||
@ -1,13 +1,13 @@
|
||||
using Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
using Immense.RemoteControl.Desktop.Shared.Native.Linux;
|
||||
using Immense.RemoteControl.Desktop.Shared.Services;
|
||||
using Remotely.Desktop.Shared.Abstractions;
|
||||
using Remotely.Desktop.Shared.Native.Linux;
|
||||
using Remotely.Desktop.Shared.Services;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Remotely.Shared.Primitives;
|
||||
using SkiaSharp;
|
||||
using System.Drawing;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Linux.Services;
|
||||
namespace Remotely.Desktop.Linux.Services;
|
||||
|
||||
public class ScreenCapturerLinux : IScreenCapturer
|
||||
{
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
using Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
using Immense.RemoteControl.Desktop.Shared.Services;
|
||||
using Remotely.Desktop.Shared.Abstractions;
|
||||
using Remotely.Desktop.Shared.Services;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Immense.RemoteControl.Desktop.UI.Services;
|
||||
using Remotely.Desktop.UI.Services;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Linux.Services;
|
||||
namespace Remotely.Desktop.Linux.Services;
|
||||
|
||||
public class ShutdownServiceLinux : IShutdownService
|
||||
{
|
||||
|
||||
@ -1,12 +1,12 @@
|
||||
using Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
using Immense.RemoteControl.Desktop.Shared.Startup;
|
||||
using Remotely.Desktop.Shared.Abstractions;
|
||||
using Remotely.Desktop.Shared.Startup;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Immense.RemoteControl.Desktop.Linux.Services;
|
||||
using Immense.RemoteControl.Desktop.UI.ViewModels;
|
||||
using Immense.RemoteControl.Desktop.UI.Services;
|
||||
using Immense.RemoteControl.Desktop.UI.Startup;
|
||||
using Remotely.Desktop.Linux.Services;
|
||||
using Remotely.Desktop.UI.ViewModels;
|
||||
using Remotely.Desktop.UI.Services;
|
||||
using Remotely.Desktop.UI.Startup;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Linux.Startup;
|
||||
namespace Remotely.Desktop.Linux.Startup;
|
||||
|
||||
public static class IServiceCollectionExtensions
|
||||
{
|
||||
|
||||
@ -26,7 +26,7 @@ in this Software without prior written authorization from The Open Group.
|
||||
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Native.Linux;
|
||||
namespace Remotely.Desktop.Shared.Native.Linux;
|
||||
|
||||
public static unsafe class LibX11
|
||||
{
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Native.Linux;
|
||||
namespace Remotely.Desktop.Shared.Native.Linux;
|
||||
|
||||
public class LibXtst
|
||||
{
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Native.Linux;
|
||||
namespace Remotely.Desktop.Shared.Native.Linux;
|
||||
|
||||
public class Libc
|
||||
{
|
||||
|
||||
@ -29,7 +29,7 @@
|
||||
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Native.Linux;
|
||||
namespace Remotely.Desktop.Shared.Native.Linux;
|
||||
|
||||
public static class LibXrandr
|
||||
{
|
||||
|
||||
@ -2,7 +2,7 @@ using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Security;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Native.Windows;
|
||||
namespace Remotely.Desktop.Shared.Native.Windows;
|
||||
|
||||
public static class ADVAPI32
|
||||
{
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Native.Windows;
|
||||
namespace Remotely.Desktop.Shared.Native.Windows;
|
||||
|
||||
public static class GDI32
|
||||
{
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Native.Windows;
|
||||
namespace Remotely.Desktop.Shared.Native.Windows;
|
||||
|
||||
public static class Kernel32
|
||||
{
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
using Immense.RemoteControl.Desktop.Shared.Native.Windows;
|
||||
using Remotely.Desktop.Shared.Native.Windows;
|
||||
using Microsoft.Win32.SafeHandles;
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Native.Windows;
|
||||
namespace Remotely.Desktop.Shared.Native.Windows;
|
||||
|
||||
// https://docs.microsoft.com/en-us/windows/win32/api/shlwapi/nf-shlwapi-isos
|
||||
public class Shlwapi
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
using Microsoft.Win32.SafeHandles;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Native.Windows;
|
||||
namespace Remotely.Desktop.Shared.Native.Windows;
|
||||
|
||||
public static class User32
|
||||
{
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Native.Windows;
|
||||
namespace Remotely.Desktop.Shared.Native.Windows;
|
||||
|
||||
public static class WTSAPI32
|
||||
{
|
||||
|
||||
@ -1,12 +1,12 @@
|
||||
using Immense.RemoteControl.Shared.Models;
|
||||
using Remotely.Shared.Models;
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using static Immense.RemoteControl.Desktop.Shared.Native.Windows.ADVAPI32;
|
||||
using static Immense.RemoteControl.Desktop.Shared.Native.Windows.User32;
|
||||
using static Remotely.Desktop.Shared.Native.Windows.ADVAPI32;
|
||||
using static Remotely.Desktop.Shared.Native.Windows.User32;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Native.Windows;
|
||||
namespace Remotely.Desktop.Shared.Native.Windows;
|
||||
|
||||
// TODO: Use https://github.com/microsoft/CsWin32 for all p/invokes.
|
||||
public class Win32Interop
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
namespace Remotely.Desktop.Shared.Abstractions;
|
||||
|
||||
public interface IAppStartup
|
||||
{
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
namespace Remotely.Desktop.Shared.Abstractions;
|
||||
|
||||
public interface IAudioCapturer
|
||||
{
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
using Immense.RemoteControl.Shared.Models;
|
||||
using Remotely.Shared.Models;
|
||||
using Remotely.Shared.Entities;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
namespace Remotely.Desktop.Shared.Abstractions;
|
||||
|
||||
public interface IBrandingProvider
|
||||
{
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using Remotely.Shared.Models;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
namespace Remotely.Desktop.Shared.Abstractions;
|
||||
|
||||
public interface IChatUiService
|
||||
{
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
namespace Remotely.Desktop.Shared.Abstractions;
|
||||
|
||||
public interface IClipboardService
|
||||
{
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using Immense.RemoteControl.Shared.Models;
|
||||
using Remotely.Shared.Models;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
namespace Remotely.Desktop.Shared.Abstractions;
|
||||
|
||||
public interface ICursorIconWatcher
|
||||
{
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
using Immense.RemoteControl.Desktop.Shared.Services;
|
||||
using Immense.RemoteControl.Desktop.Shared.ViewModels;
|
||||
using Remotely.Desktop.Shared.Services;
|
||||
using Remotely.Desktop.Shared.ViewModels;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
namespace Remotely.Desktop.Shared.Abstractions;
|
||||
|
||||
public interface IFileTransferService
|
||||
{
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
using Immense.RemoteControl.Desktop.Shared.Enums;
|
||||
using Immense.RemoteControl.Desktop.Shared.Services;
|
||||
using Remotely.Desktop.Shared.Enums;
|
||||
using Remotely.Desktop.Shared.Services;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
namespace Remotely.Desktop.Shared.Abstractions;
|
||||
|
||||
public interface IKeyboardMouseInput
|
||||
{
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using Immense.RemoteControl.Shared.Enums;
|
||||
using Remotely.Shared.Enums;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
namespace Remotely.Desktop.Shared.Abstractions;
|
||||
|
||||
public interface IRemoteControlAccessService
|
||||
{
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
using SkiaSharp;
|
||||
using System.Drawing;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
namespace Remotely.Desktop.Shared.Abstractions;
|
||||
|
||||
public interface IScreenCapturer : IDisposable
|
||||
{
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
namespace Remotely.Desktop.Shared.Abstractions;
|
||||
|
||||
public interface ISessionIndicator
|
||||
{
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
namespace Remotely.Desktop.Shared.Abstractions;
|
||||
|
||||
public interface IShutdownService
|
||||
{
|
||||
|
||||
@ -5,6 +5,7 @@
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
||||
<RootNamespace>Remotely.Desktop.Shared</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Enums;
|
||||
namespace Remotely.Desktop.Shared.Enums;
|
||||
|
||||
public enum AppMode
|
||||
{
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Enums;
|
||||
namespace Remotely.Desktop.Shared.Enums;
|
||||
|
||||
public enum ButtonAction
|
||||
{
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using SkiaSharp;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Extensions;
|
||||
namespace Remotely.Desktop.Shared.Extensions;
|
||||
|
||||
public static class SKBitmapExtensions
|
||||
{
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Messages;
|
||||
namespace Remotely.Desktop.Shared.Messages;
|
||||
|
||||
public class AppStateHostChangedMessage
|
||||
{
|
||||
|
||||
@ -1,2 +1,2 @@
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Messages;
|
||||
namespace Remotely.Desktop.Shared.Messages;
|
||||
public record DisplaySettingsChangedMessage();
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using Immense.RemoteControl.Shared.Enums;
|
||||
using Remotely.Shared.Enums;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Messages;
|
||||
namespace Remotely.Desktop.Shared.Messages;
|
||||
|
||||
public class WindowsSessionEndingMessage
|
||||
{
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using Immense.RemoteControl.Shared.Enums;
|
||||
using Remotely.Shared.Enums;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Messages;
|
||||
namespace Remotely.Desktop.Shared.Messages;
|
||||
|
||||
public class WindowsSessionSwitchedMessage
|
||||
{
|
||||
|
||||
@ -5,7 +5,7 @@ using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Input;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Reactive;
|
||||
namespace Remotely.Desktop.Shared.Reactive;
|
||||
|
||||
public class AsyncRelayCommand : ICommand
|
||||
{
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
using System.ComponentModel;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Reactive;
|
||||
namespace Remotely.Desktop.Shared.Reactive;
|
||||
|
||||
public class ObservableObject : INotifyPropertyChanged
|
||||
{
|
||||
|
||||
@ -5,7 +5,7 @@ using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Input;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Reactive;
|
||||
namespace Remotely.Desktop.Shared.Reactive;
|
||||
|
||||
public class RelayCommand : ICommand
|
||||
{
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
using Immense.RemoteControl.Desktop.Shared.Enums;
|
||||
using Immense.RemoteControl.Desktop.Shared.Messages;
|
||||
using Immense.RemoteControl.Shared.Models;
|
||||
using Remotely.Desktop.Shared.Enums;
|
||||
using Remotely.Desktop.Shared.Messages;
|
||||
using Remotely.Shared.Models;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Bitbound.SimpleMessenger;
|
||||
using System.Collections.Concurrent;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Services;
|
||||
namespace Remotely.Desktop.Shared.Services;
|
||||
|
||||
public interface IAppState
|
||||
{
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
using Immense.RemoteControl.Desktop.Shared.Services;
|
||||
using Immense.RemoteControl.Shared.Models;
|
||||
using Remotely.Desktop.Shared.Abstractions;
|
||||
using Remotely.Desktop.Shared.Services;
|
||||
using Remotely.Shared.Models;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Remotely.Shared.Entities;
|
||||
using Remotely.Shared.Primitives;
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
using Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
using Remotely.Desktop.Shared.Abstractions;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Remotely.Shared.Models;
|
||||
using System.IO.Pipes;
|
||||
using System.Text.Json;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Services;
|
||||
namespace Remotely.Desktop.Shared.Services;
|
||||
|
||||
public interface IChatHostService
|
||||
{
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
using Immense.RemoteControl.Desktop.Shared.Native.Linux;
|
||||
using Remotely.Desktop.Shared.Native.Linux;
|
||||
using System.Security.Principal;
|
||||
|
||||
namespace Desktop.Shared.Services;
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
using Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
using Immense.RemoteControl.Desktop.Shared.Messages;
|
||||
using Immense.RemoteControl.Desktop.Shared.Native.Windows;
|
||||
using Immense.RemoteControl.Shared.Enums;
|
||||
using Immense.RemoteControl.Shared.Interfaces;
|
||||
using Immense.RemoteControl.Shared.Models;
|
||||
using Remotely.Desktop.Shared.Abstractions;
|
||||
using Remotely.Desktop.Shared.Messages;
|
||||
using Remotely.Desktop.Shared.Native.Windows;
|
||||
using Remotely.Shared.Enums;
|
||||
using Remotely.Shared.Interfaces;
|
||||
using Remotely.Shared.Models;
|
||||
using Bitbound.SimpleMessenger;
|
||||
using Microsoft.AspNetCore.SignalR.Client;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
@ -11,7 +11,7 @@ using Microsoft.Extensions.Logging;
|
||||
using Remotely.Shared.Primitives;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Services;
|
||||
namespace Remotely.Desktop.Shared.Services;
|
||||
|
||||
public interface IDesktopHubConnection
|
||||
{
|
||||
|
||||
@ -1,12 +1,12 @@
|
||||
using Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
using Immense.RemoteControl.Desktop.Shared.Enums;
|
||||
using Immense.RemoteControl.Desktop.Shared.Native.Windows;
|
||||
using Immense.RemoteControl.Shared.Helpers;
|
||||
using Immense.RemoteControl.Shared.Models.Dtos;
|
||||
using Remotely.Desktop.Shared.Abstractions;
|
||||
using Remotely.Desktop.Shared.Enums;
|
||||
using Remotely.Desktop.Shared.Native.Windows;
|
||||
using Remotely.Shared.Helpers;
|
||||
using Remotely.Shared.Models.Dtos;
|
||||
using MessagePack;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Services;
|
||||
namespace Remotely.Desktop.Shared.Services;
|
||||
|
||||
public interface IDtoMessageHandler
|
||||
{
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
using Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
using Remotely.Desktop.Shared.Abstractions;
|
||||
using Microsoft.AspNetCore.SignalR.Client;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using System.Timers;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Services;
|
||||
namespace Remotely.Desktop.Shared.Services;
|
||||
|
||||
public interface IIdleTimer
|
||||
{
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
using Immense.RemoteControl.Desktop.Shared.Extensions;
|
||||
using Remotely.Desktop.Shared.Extensions;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Microsoft.IO;
|
||||
using Remotely.Shared.Primitives;
|
||||
using SkiaSharp;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Services;
|
||||
namespace Remotely.Desktop.Shared.Services;
|
||||
|
||||
public interface IImageHelper
|
||||
{
|
||||
|
||||
@ -1,19 +1,19 @@
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using SkiaSharp;
|
||||
using Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
using Immense.RemoteControl.Desktop.Shared.Enums;
|
||||
using Immense.RemoteControl.Shared.Models;
|
||||
using Remotely.Desktop.Shared.Abstractions;
|
||||
using Remotely.Desktop.Shared.Enums;
|
||||
using Remotely.Shared.Models;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Immense.RemoteControl.Shared.Helpers;
|
||||
using Immense.RemoteControl.Shared.Models.Dtos;
|
||||
using Remotely.Shared.Helpers;
|
||||
using Remotely.Shared.Models.Dtos;
|
||||
using MessagePack;
|
||||
using Immense.RemoteControl.Shared.Services;
|
||||
using Remotely.Shared.Services;
|
||||
using Microsoft.IO;
|
||||
using System.Diagnostics;
|
||||
using Bitbound.SimpleMessenger;
|
||||
using Immense.RemoteControl.Desktop.Shared.Messages;
|
||||
using Remotely.Desktop.Shared.Messages;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Services;
|
||||
namespace Remotely.Desktop.Shared.Services;
|
||||
|
||||
public interface IScreenCaster : IDisposable
|
||||
{
|
||||
|
||||
@ -1,15 +1,15 @@
|
||||
using System.Collections.Concurrent;
|
||||
using Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
using Immense.RemoteControl.Shared.Models;
|
||||
using Remotely.Desktop.Shared.Abstractions;
|
||||
using Remotely.Shared.Models;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Immense.RemoteControl.Shared.Helpers;
|
||||
using Immense.RemoteControl.Shared.Models.Dtos;
|
||||
using Immense.RemoteControl.Desktop.Shared.ViewModels;
|
||||
using Remotely.Shared.Helpers;
|
||||
using Remotely.Shared.Models.Dtos;
|
||||
using Remotely.Desktop.Shared.ViewModels;
|
||||
using Microsoft.AspNetCore.SignalR.Client;
|
||||
using Immense.RemoteControl.Shared.Services;
|
||||
using Immense.RemoteControl.Desktop.Shared.Native.Windows;
|
||||
using Remotely.Shared.Services;
|
||||
using Remotely.Desktop.Shared.Native.Windows;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Services;
|
||||
namespace Remotely.Desktop.Shared.Services;
|
||||
|
||||
public interface IViewer : IDisposable
|
||||
{
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
using Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
using Immense.RemoteControl.Shared.Services;
|
||||
using Remotely.Desktop.Shared.Abstractions;
|
||||
using Remotely.Shared.Services;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using System;
|
||||
@ -8,7 +8,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Services;
|
||||
namespace Remotely.Desktop.Shared.Services;
|
||||
|
||||
internal interface IViewerFactory
|
||||
{
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
using System.CommandLine;
|
||||
using CommunityToolkit.Diagnostics;
|
||||
using Immense.RemoteControl.Desktop.Shared.Enums;
|
||||
using Remotely.Desktop.Shared.Enums;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Startup;
|
||||
namespace Remotely.Desktop.Shared.Startup;
|
||||
public static class CommandProvider
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@ -1,12 +1,12 @@
|
||||
using Immense.RemoteControl.Desktop.Shared.Services;
|
||||
using Immense.RemoteControl.Shared.Services;
|
||||
using Remotely.Desktop.Shared.Services;
|
||||
using Remotely.Shared.Services;
|
||||
using Microsoft.AspNetCore.SignalR.Client;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Bitbound.SimpleMessenger;
|
||||
using Desktop.Shared.Services;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Startup;
|
||||
namespace Remotely.Desktop.Shared.Startup;
|
||||
|
||||
public static class IServiceCollectionExtensions
|
||||
{
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
using Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
using Immense.RemoteControl.Desktop.Shared.Enums;
|
||||
using Immense.RemoteControl.Desktop.Shared.Native.Windows;
|
||||
using Immense.RemoteControl.Desktop.Shared.Services;
|
||||
using Remotely.Desktop.Shared.Abstractions;
|
||||
using Remotely.Desktop.Shared.Enums;
|
||||
using Remotely.Desktop.Shared.Native.Windows;
|
||||
using Remotely.Desktop.Shared.Services;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Remotely.Shared.Primitives;
|
||||
@ -9,7 +9,7 @@ using System.CommandLine;
|
||||
using System.CommandLine.NamingConventionBinder;
|
||||
using System.Runtime.Versioning;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Startup;
|
||||
namespace Remotely.Desktop.Shared.Startup;
|
||||
|
||||
public static class IServiceProviderExtensions
|
||||
{
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
using Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
using Remotely.Desktop.Shared.Abstractions;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Shared.Startup;
|
||||
namespace Remotely.Desktop.Shared.Startup;
|
||||
|
||||
public interface IRemoteControlClientBuilder
|
||||
{
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
namespace Immense.RemoteControl.Desktop.Shared;
|
||||
namespace Remotely.Desktop.Shared;
|
||||
|
||||
public static class StaticServiceProvider
|
||||
{
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using Immense.RemoteControl.Desktop.Shared.Reactive;
|
||||
using Remotely.Desktop.Shared.Reactive;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.Shared.ViewModels;
|
||||
namespace Remotely.Desktop.Shared.ViewModels;
|
||||
|
||||
public partial class FileUpload : ObservableObject
|
||||
{
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<Application xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
x:Class="Immense.RemoteControl.Desktop.UI.App"
|
||||
x:Class="Remotely.Desktop.UI.App"
|
||||
RequestedThemeVariant="Light">
|
||||
<Application.Styles>
|
||||
<FluentTheme />
|
||||
|
||||
@ -3,7 +3,7 @@ using Avalonia.Controls.ApplicationLifetimes;
|
||||
using Avalonia.Data.Core.Plugins;
|
||||
using Avalonia.Markup.Xaml;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.UI;
|
||||
namespace Remotely.Desktop.UI;
|
||||
|
||||
public partial class App : Application
|
||||
{
|
||||
|
||||
@ -3,9 +3,9 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||
xmlns:vm="clr-namespace:Immense.RemoteControl.Desktop.UI.ViewModels"
|
||||
xmlns:fakes="clr-namespace:Immense.RemoteControl.Desktop.UI.ViewModels.Fakes"
|
||||
x:Class="Immense.RemoteControl.Desktop.UI.Controls.Dialogs.MessageBox"
|
||||
xmlns:vm="clr-namespace:Remotely.Desktop.UI.ViewModels"
|
||||
xmlns:fakes="clr-namespace:Remotely.Desktop.UI.ViewModels.Fakes"
|
||||
x:Class="Remotely.Desktop.UI.Controls.Dialogs.MessageBox"
|
||||
Icon="{Binding WindowIcon}"
|
||||
Title="{Binding Caption}"
|
||||
Topmost="True"
|
||||
|
||||
@ -2,11 +2,11 @@
|
||||
using Avalonia.Controls.ApplicationLifetimes;
|
||||
using Avalonia.Markup.Xaml;
|
||||
using CommunityToolkit.Diagnostics;
|
||||
using Immense.RemoteControl.Desktop.Shared;
|
||||
using Remotely.Desktop.Shared;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using System.Threading;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.UI.Controls.Dialogs;
|
||||
namespace Remotely.Desktop.UI.Controls.Dialogs;
|
||||
|
||||
public partial class MessageBox : Window
|
||||
{
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
namespace Immense.RemoteControl.Desktop.UI.Controls.Dialogs;
|
||||
namespace Remotely.Desktop.UI.Controls.Dialogs;
|
||||
|
||||
public enum MessageBoxResult
|
||||
{
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
namespace Immense.RemoteControl.Desktop.UI.Controls.Dialogs;
|
||||
namespace Remotely.Desktop.UI.Controls.Dialogs;
|
||||
|
||||
public enum MessageBoxType
|
||||
{
|
||||
|
||||
@ -10,6 +10,7 @@
|
||||
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<ValidateExecutableReferencesMatchSelfContained>false</ValidateExecutableReferencesMatchSelfContained>
|
||||
<RootNamespace>Remotely.Desktop.UI</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@ -3,6 +3,6 @@ global using System.IO;
|
||||
global using System.Collections.Generic;
|
||||
global using System.Linq;
|
||||
global using System.Threading.Tasks;
|
||||
global using Immense.RemoteControl.Desktop.UI.Services;
|
||||
global using Immense.RemoteControl.Desktop.UI.ViewModels;
|
||||
global using Immense.RemoteControl.Desktop.UI.Views;
|
||||
global using Remotely.Desktop.UI.Services;
|
||||
global using Remotely.Desktop.UI.ViewModels;
|
||||
global using Remotely.Desktop.UI.Views;
|
||||
@ -1,11 +1,11 @@
|
||||
using Avalonia.Controls;
|
||||
using Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
using Remotely.Desktop.Shared.Abstractions;
|
||||
using System.ComponentModel;
|
||||
using Immense.RemoteControl.Desktop.UI.Controls.Dialogs;
|
||||
using Remotely.Desktop.UI.Controls.Dialogs;
|
||||
using CommunityToolkit.Diagnostics;
|
||||
using Remotely.Shared.Models;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.UI.Services;
|
||||
namespace Remotely.Desktop.UI.Services;
|
||||
|
||||
public class ChatUiService : IChatUiService
|
||||
{
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
using Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
using Remotely.Desktop.Shared.Abstractions;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using System.Threading;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.UI.Services;
|
||||
namespace Remotely.Desktop.UI.Services;
|
||||
|
||||
public class ClipboardService : IClipboardService
|
||||
{
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
using Immense.RemoteControl.Desktop.UI.Controls.Dialogs;
|
||||
using Remotely.Desktop.UI.Controls.Dialogs;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
@ -6,7 +6,7 @@ using System.Text;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.UI.Services;
|
||||
namespace Remotely.Desktop.UI.Services;
|
||||
|
||||
public interface IDialogProvider
|
||||
{
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
using Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
using Immense.RemoteControl.Shared.Enums;
|
||||
using Remotely.Desktop.Shared.Abstractions;
|
||||
using Remotely.Shared.Enums;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using System.Threading;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.UI.Services;
|
||||
namespace Remotely.Desktop.UI.Services;
|
||||
|
||||
public class RemoteControlAccessService : IRemoteControlAccessService
|
||||
{
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
using Immense.RemoteControl.Desktop.Shared;
|
||||
using Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
using Remotely.Desktop.Shared;
|
||||
using Remotely.Desktop.Shared.Abstractions;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.UI.Services;
|
||||
namespace Remotely.Desktop.UI.Services;
|
||||
|
||||
public class SessionIndicator : ISessionIndicator
|
||||
{
|
||||
|
||||
@ -3,12 +3,12 @@ using Avalonia.Controls;
|
||||
using Avalonia.Controls.ApplicationLifetimes;
|
||||
using Avalonia.Input.Platform;
|
||||
using Avalonia.Threading;
|
||||
using Immense.RemoteControl.Shared.Helpers;
|
||||
using Remotely.Shared.Helpers;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Remotely.Shared.Primitives;
|
||||
using System.Threading;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.UI.Services;
|
||||
namespace Remotely.Desktop.UI.Services;
|
||||
|
||||
public interface IUiDispatcher
|
||||
{
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
using Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
using Immense.RemoteControl.Desktop.Shared.Services;
|
||||
using Remotely.Desktop.Shared.Abstractions;
|
||||
using Remotely.Desktop.Shared.Services;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using System.IO;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.UI.Services;
|
||||
namespace Remotely.Desktop.UI.Services;
|
||||
|
||||
// Normally, I'd use a view model locator. But enough view models require a factory pattern
|
||||
// that I thought it more consistent to put them all here.
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
using Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
using Remotely.Desktop.Shared.Abstractions;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.UI.Startup;
|
||||
namespace Remotely.Desktop.UI.Startup;
|
||||
|
||||
public static class IServiceCollectionExtensions
|
||||
{
|
||||
|
||||
@ -1,15 +1,15 @@
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Media;
|
||||
using Avalonia.Media.Imaging;
|
||||
using Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
using Immense.RemoteControl.Desktop.Shared.Reactive;
|
||||
using Immense.RemoteControl.Shared.Models;
|
||||
using Remotely.Desktop.Shared.Abstractions;
|
||||
using Remotely.Desktop.Shared.Reactive;
|
||||
using Remotely.Shared.Models;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Remotely.Shared.Entities;
|
||||
using System.IO;
|
||||
using System.Reflection;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.UI.ViewModels;
|
||||
namespace Remotely.Desktop.UI.ViewModels;
|
||||
|
||||
public interface IBrandedViewModelBase
|
||||
{
|
||||
@ -76,7 +76,7 @@ public class BrandedViewModelBase : ObservableObject, IBrandedViewModelBase
|
||||
using var imageStream =
|
||||
Assembly
|
||||
.GetExecutingAssembly()
|
||||
.GetManifestResourceStream("Immense.RemoteControl.Desktop.Shared.Assets.DefaultIcon.png") ?? new MemoryStream();
|
||||
.GetManifestResourceStream("Remotely.Desktop.Shared.Assets.DefaultIcon.png") ?? new MemoryStream();
|
||||
|
||||
Icon = new Bitmap(imageStream);
|
||||
}
|
||||
|
||||
@ -3,13 +3,13 @@ using System.Collections.ObjectModel;
|
||||
using System.IO;
|
||||
using System.Text.Json;
|
||||
using System.Windows.Input;
|
||||
using Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
using Remotely.Desktop.Shared.Abstractions;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Immense.RemoteControl.Desktop.Shared.Reactive;
|
||||
using Remotely.Desktop.Shared.Reactive;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Remotely.Shared.Models;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.UI.ViewModels;
|
||||
namespace Remotely.Desktop.UI.ViewModels;
|
||||
|
||||
public interface IChatWindowViewModel : IBrandedViewModelBase
|
||||
{
|
||||
|
||||
@ -1,13 +1,13 @@
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Media;
|
||||
using Avalonia.Media.Imaging;
|
||||
using Immense.RemoteControl.Desktop.UI.Controls.Dialogs;
|
||||
using Immense.RemoteControl.Shared.Models;
|
||||
using Remotely.Desktop.UI.Controls.Dialogs;
|
||||
using Remotely.Shared.Models;
|
||||
using Remotely.Shared.Entities;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.UI.ViewModels.Fakes;
|
||||
namespace Remotely.Desktop.UI.ViewModels.Fakes;
|
||||
|
||||
public class FakeBrandedViewModelBase : IBrandedViewModelBase
|
||||
{
|
||||
@ -38,7 +38,7 @@ public class FakeBrandedViewModelBase : IBrandedViewModelBase
|
||||
{
|
||||
using var imageStream = typeof(Shared.Services.AppState)
|
||||
.Assembly
|
||||
.GetManifestResourceStream("Immense.RemoteControl.Desktop.Shared.Assets.DefaultIcon.png") ?? new MemoryStream();
|
||||
.GetManifestResourceStream("Remotely.Desktop.Shared.Assets.DefaultIcon.png") ?? new MemoryStream();
|
||||
|
||||
return new Bitmap(imageStream);
|
||||
}
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
using Immense.RemoteControl.Desktop.Shared.Reactive;
|
||||
using Remotely.Desktop.Shared.Reactive;
|
||||
using Remotely.Shared.Models;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Windows.Input;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.UI.ViewModels.Fakes;
|
||||
namespace Remotely.Desktop.UI.ViewModels.Fakes;
|
||||
|
||||
public class FakeChatWindowViewModel : FakeBrandedViewModelBase, IChatWindowViewModel
|
||||
{
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
using Immense.RemoteControl.Desktop.Shared.Reactive;
|
||||
using Immense.RemoteControl.Desktop.Shared.ViewModels;
|
||||
using Remotely.Desktop.Shared.Reactive;
|
||||
using Remotely.Desktop.Shared.ViewModels;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Windows.Input;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.UI.ViewModels.Fakes;
|
||||
namespace Remotely.Desktop.UI.ViewModels.Fakes;
|
||||
|
||||
public class FakeFileTransferViewModel : FakeBrandedViewModelBase, IFileTransferWindowViewModel
|
||||
{
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
using Immense.RemoteControl.Desktop.Shared.Reactive;
|
||||
using Remotely.Desktop.Shared.Reactive;
|
||||
using System.Windows.Input;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.UI.ViewModels.Fakes;
|
||||
namespace Remotely.Desktop.UI.ViewModels.Fakes;
|
||||
|
||||
public class FakeHostNamePromptViewModel : FakeBrandedViewModelBase, IHostNamePromptViewModel
|
||||
{
|
||||
|
||||
@ -1,14 +1,14 @@
|
||||
using Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
using Immense.RemoteControl.Desktop.Shared.Reactive;
|
||||
using Immense.RemoteControl.Desktop.Shared.Services;
|
||||
using Immense.RemoteControl.Desktop.Shared.ViewModels;
|
||||
using Immense.RemoteControl.Shared.Models;
|
||||
using Immense.RemoteControl.Shared.Models.Dtos;
|
||||
using Remotely.Desktop.Shared.Abstractions;
|
||||
using Remotely.Desktop.Shared.Reactive;
|
||||
using Remotely.Desktop.Shared.Services;
|
||||
using Remotely.Desktop.Shared.ViewModels;
|
||||
using Remotely.Shared.Models;
|
||||
using Remotely.Shared.Models.Dtos;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Threading;
|
||||
using System.Windows.Input;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.UI.ViewModels.Fakes;
|
||||
namespace Remotely.Desktop.UI.ViewModels.Fakes;
|
||||
public class FakeMainViewViewModel : FakeBrandedViewModelBase, IMainViewViewModel
|
||||
{
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
namespace Immense.RemoteControl.Desktop.UI.ViewModels.Fakes;
|
||||
namespace Remotely.Desktop.UI.ViewModels.Fakes;
|
||||
|
||||
public class FakeMainWindowViewModel : FakeBrandedViewModelBase, IMainWindowViewModel
|
||||
{
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
using Immense.RemoteControl.Desktop.Shared.Reactive;
|
||||
using Remotely.Desktop.Shared.Reactive;
|
||||
using System.Windows.Input;
|
||||
using Immense.RemoteControl.Desktop.UI.Controls.Dialogs;
|
||||
using Remotely.Desktop.UI.Controls.Dialogs;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.UI.ViewModels.Fakes;
|
||||
namespace Remotely.Desktop.UI.ViewModels.Fakes;
|
||||
|
||||
public class FakeMessageBoxViewModel : FakeBrandedViewModelBase, IMessageBoxViewModel
|
||||
{
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
using Immense.RemoteControl.Desktop.Shared.Reactive;
|
||||
using Remotely.Desktop.Shared.Reactive;
|
||||
using System.Windows.Input;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.UI.ViewModels.Fakes;
|
||||
namespace Remotely.Desktop.UI.ViewModels.Fakes;
|
||||
|
||||
public class FakePromptForAccessViewModel : FakeBrandedViewModelBase, IPromptForAccessWindowViewModel
|
||||
{
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
namespace Immense.RemoteControl.Desktop.UI.ViewModels.Fakes;
|
||||
namespace Remotely.Desktop.UI.ViewModels.Fakes;
|
||||
internal class FakeSessionIndicatorWindowViewModel : FakeBrandedViewModelBase, ISessionIndicatorWindowViewModel
|
||||
{
|
||||
public Task PromptForExit()
|
||||
|
||||
@ -1,14 +1,14 @@
|
||||
using Avalonia.Threading;
|
||||
using Immense.RemoteControl.Desktop.Shared.Services;
|
||||
using Immense.RemoteControl.Desktop.Shared.ViewModels;
|
||||
using Remotely.Desktop.Shared.Services;
|
||||
using Remotely.Desktop.Shared.ViewModels;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.IO;
|
||||
using System.Windows.Input;
|
||||
using Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
using Remotely.Desktop.Shared.Abstractions;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Immense.RemoteControl.Desktop.Shared.Reactive;
|
||||
using Remotely.Desktop.Shared.Reactive;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.UI.ViewModels;
|
||||
namespace Remotely.Desktop.UI.ViewModels;
|
||||
|
||||
public interface IFileTransferWindowViewModel : IBrandedViewModelBase
|
||||
{
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
using Avalonia.Controls;
|
||||
using System.Windows.Input;
|
||||
using Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
using Remotely.Desktop.Shared.Abstractions;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Immense.RemoteControl.Desktop.Shared.Reactive;
|
||||
using Remotely.Desktop.Shared.Reactive;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.UI.ViewModels;
|
||||
namespace Remotely.Desktop.UI.ViewModels;
|
||||
|
||||
public interface IHostNamePromptViewModel : IBrandedViewModelBase
|
||||
{
|
||||
|
||||
@ -1,19 +1,19 @@
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Threading;
|
||||
using Immense.RemoteControl.Desktop.Shared.Services;
|
||||
using Immense.RemoteControl.Shared.Models;
|
||||
using Remotely.Desktop.Shared.Services;
|
||||
using Remotely.Shared.Models;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Diagnostics;
|
||||
using System.Windows.Input;
|
||||
using Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
using Remotely.Desktop.Shared.Abstractions;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Immense.RemoteControl.Desktop.Shared.Reactive;
|
||||
using Remotely.Desktop.Shared.Reactive;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Immense.RemoteControl.Desktop.UI.Controls.Dialogs;
|
||||
using Immense.RemoteControl.Desktop.Shared.Native.Linux;
|
||||
using Remotely.Desktop.UI.Controls.Dialogs;
|
||||
using Remotely.Desktop.Shared.Native.Linux;
|
||||
using Desktop.Shared.Services;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.UI.ViewModels;
|
||||
namespace Remotely.Desktop.UI.ViewModels;
|
||||
|
||||
public interface IMainViewViewModel : IBrandedViewModelBase
|
||||
{
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
using Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
using Remotely.Desktop.Shared.Abstractions;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.UI.ViewModels;
|
||||
namespace Remotely.Desktop.UI.ViewModels;
|
||||
|
||||
public interface IMainWindowViewModel : IBrandedViewModelBase
|
||||
{
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
using Avalonia.Controls;
|
||||
using System.Windows.Input;
|
||||
using Immense.RemoteControl.Desktop.Shared.Reactive;
|
||||
using Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
using Remotely.Desktop.Shared.Reactive;
|
||||
using Remotely.Desktop.Shared.Abstractions;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Immense.RemoteControl.Desktop.UI.Controls.Dialogs;
|
||||
using Remotely.Desktop.UI.Controls.Dialogs;
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.UI.ViewModels;
|
||||
namespace Remotely.Desktop.UI.ViewModels;
|
||||
|
||||
public interface IMessageBoxViewModel : IBrandedViewModelBase
|
||||
{
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
using Avalonia.Controls;
|
||||
using Immense.RemoteControl.Desktop.Shared.Abstractions;
|
||||
using Immense.RemoteControl.Desktop.Shared.Reactive;
|
||||
using Remotely.Desktop.Shared.Abstractions;
|
||||
using Remotely.Desktop.Shared.Reactive;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using System.Windows.Input;
|
||||
|
||||
|
||||
namespace Immense.RemoteControl.Desktop.UI.ViewModels;
|
||||
namespace Remotely.Desktop.UI.ViewModels;
|
||||
|
||||
public interface IPromptForAccessWindowViewModel : IBrandedViewModelBase
|
||||
{
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user