author Dave Townsend <>
Wed, 06 Feb 2019 14:18:35 -0800
changeset 520645 fe3cd9f0d12bae82190bd17ea474d1a2f4bb80a2
parent 520631 84e8066625fd72fdb1eb6eab85621ae842fe91b4
child 521903 d55401632cea92b6b2775ba278274b5490275876
permissions -rw-r--r--
Bug 1518639: Implement windows remoting server and client. r=jimm Implements the windows remove client and server based on the current remoting code in nsNativeAppSupportWin.cpp. Makes the hidden window classname encode both program name and profile name. nsNativeAppSupportWin is now just used for setting up the console. Differential Revision:

/* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:expandtab:shiftwidth=4:tabstop=4:
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at */

#ifndef nsWinRemoteUtils_h__
#define nsWinRemoteUtils_h__

#include "nsString.h"

static void BuildClassName(const char *aProgram, const char *aProfile,
                           nsString& aClassName) {
  aClassName.AppendPrintf("Mozilla_%s_%s_RemoteWindow", aProgram, aProfile);

#endif  // nsWinRemoteUtils_h__