1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim:expandtab:shiftwidth=2:tabstop=8:
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 NSXREMOTESERVER_H
9 #define NSXREMOTESERVER_H
12 #include "nsRemoteServer.h"
13 #include "nsUnixRemoteServer.h"
19 Base class for GTK/Qt remote service
21 class nsXRemoteServer
: public nsRemoteServer
, public nsUnixRemoteServer
{
24 bool HandleNewProperty(Window aWindowId
, Display
* aDisplay
, Time aEventTime
,
26 void XRemoteBaseStartup(const char* aAppName
, const char* aProfileName
);
27 void HandleCommandsFor(Window aWindowId
);
33 nsCString mProfileName
;
35 static Atom sMozVersionAtom
;
36 static Atom sMozLockAtom
;
37 static Atom sMozResponseAtom
;
38 static Atom sMozUserAtom
;
39 static Atom sMozProfileAtom
;
40 static Atom sMozProgramAtom
;
41 static Atom sMozCommandLineAtom
;
44 #endif // NSXREMOTESERVER_H