hikvision-sync-service/Interop/AppsDemoStubs.cs

28 lines
700 B
C#

using System;
namespace Common
{
// The AppsDemo interop file includes optional UI/plugin helpers (e.g., AddLog)
// that reference types from the full demo application. Our Windows Service
// doesn't use those helpers, so we provide minimal stubs to satisfy the compiler.
internal interface IDeviceTree
{
DeviceInfo GetSelectedDeviceInfo();
sealed class DeviceInfo
{
public string sDeviceIP;
public string sDeviceName;
}
}
internal static class PluginsFactory
{
public static IDeviceTree GetDeviceTreeInstance()
{
return null; // not used by the service runtime
}
}
}