michael@0: /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* vim:expandtab:shiftwidth=2:tabstop=2: michael@0: */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef __nsQtRemoteService_h__ michael@0: #define __nsQtRemoteService_h__ michael@0: michael@0: #include "nsXRemoteService.h" michael@0: #include michael@0: michael@0: class RemoteEventHandlerWidget; michael@0: michael@0: class nsQtRemoteService : public nsXRemoteService michael@0: { michael@0: public: michael@0: // We will be a static singleton, so don't use the ordinary methods. michael@0: NS_DECL_ISUPPORTS michael@0: NS_DECL_NSIREMOTESERVICE michael@0: michael@0: nsQtRemoteService(); michael@0: virtual ~nsQtRemoteService() { }; michael@0: michael@0: private: michael@0: virtual void SetDesktopStartupIDOrTimestamp(const nsACString& aDesktopStartupID, michael@0: uint32_t aTimestamp); michael@0: michael@0: void PropertyNotifyEvent(XEvent *evt); michael@0: friend class MozQRemoteEventHandlerWidget; michael@0: michael@0: QWindow *mServerWindow; michael@0: }; michael@0: michael@0: #endif // __nsQtRemoteService_h__