1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #ifndef TOOLKIT_COMPONENTS_REMOTE_REMOTEUTILS_H_
7 #define TOOLKIT_COMPONENTS_REMOTE_REMOTEUTILS_H_
11 #if defined XP_WIN || defined XP_MACOSX
12 static void BuildClassName(const char* aProgram
, const char* aProfile
,
13 nsString
& aClassName
) {
14 aClassName
.AppendPrintf("Mozilla_%s_%s_RemoteWindow", aProgram
, aProfile
);
18 char* ConstructCommandLine(int32_t argc
, char** argv
,
19 const char* aDesktopStartupID
,
20 int* aCommandLineLength
);
22 #endif // TOOLKIT_COMPONENTS_REMOTE_REMOTEUTILS_H_