NETServiceApplication.cs 512 B

1234567891011121314151617181920212223242526272829303132
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Runtime.InteropServices;
  4. #if ATOMIC_DESKTOP
  5. namespace AtomicEngine
  6. {
  7. public partial class NETServiceApplication : IPCClientApp
  8. {
  9. public static NETServiceApplication Create()
  10. {
  11. // Initialize AtomicNET
  12. AtomicNET.Initialize();
  13. var app = CreateInternal();
  14. app.Initialize();
  15. AtomicNET.RegisterSubsystem("IPC");
  16. return app;
  17. }
  18. }
  19. }
  20. #endif