Bug 1943650 - Command-line --help output misformatted after --dbus-service. r=emilio
[gecko.git] / toolkit / components / remote / nsWinRemoteServer.h
blob1687e2d44b2b1bab44256aa030f5399d76df2b9b
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim:expandtab:shiftwidth=2:tabstop=2:
3 */
4 /* This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
8 #ifndef __nsWinRemoteServer_h__
9 #define __nsWinRemoteServer_h__
11 #include "nsRemoteServer.h"
13 #include <windows.h>
15 class nsWinRemoteServer final : public nsRemoteServer {
16 public:
17 nsWinRemoteServer() = default;
18 ~nsWinRemoteServer() override { Shutdown(); }
20 nsresult Startup(const char* aAppName, const char* aProfileName) override;
21 void Shutdown() override;
23 private:
24 HWND mHandle;
27 #endif // __nsWinRemoteService_h__