LCOV - code coverage report
Current view: top level - toolkit/components/remote - nsXRemoteService.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 1 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 2 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
       2             : /* vim:expandtab:shiftwidth=2:tabstop=8:
       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/. */
       7             : 
       8             : #ifndef NSXREMOTESERVICE_H
       9             : #define NSXREMOTESERVICE_H
      10             : 
      11             : #include "nsString.h"
      12             : 
      13             : #include "nsIRemoteService.h"
      14             : #include "nsIObserver.h"
      15             : #include <X11/Xlib.h>
      16             : #include <X11/X.h>
      17             : 
      18             : class nsIDOMWindow;
      19             : class nsIWeakReference;
      20             : 
      21             : /**
      22             :   Base class for GTK/Qt remote service
      23             : */
      24           0 : class nsXRemoteService : public nsIRemoteService,
      25             :                          public nsIObserver
      26             : {
      27             : public:
      28             :     NS_DECL_NSIOBSERVER
      29             : 
      30             : 
      31             : protected:
      32             :     nsXRemoteService();
      33             : 
      34             :     static bool HandleNewProperty(Window aWindowId,Display* aDisplay,
      35             :                                     Time aEventTime, Atom aChangedAtom,
      36             :                                     nsIWeakReference* aDomWindow);
      37             : 
      38             :     void XRemoteBaseStartup(const char *aAppName, const char *aProfileName);
      39             : 
      40             :     void HandleCommandsFor(Window aWindowId);
      41             :     static nsXRemoteService *sRemoteImplementation;
      42             : private:
      43             :     void EnsureAtoms();
      44             :     static const char* HandleCommandLine(char* aBuffer, nsIDOMWindow* aWindow,
      45             :                                          uint32_t aTimestamp);
      46             : 
      47             :     virtual void SetDesktopStartupIDOrTimestamp(const nsACString& aDesktopStartupID,
      48             :                                                 uint32_t aTimestamp) = 0;
      49             : 
      50             :     nsCString mAppName;
      51             :     nsCString mProfileName;
      52             : 
      53             :     static Atom sMozVersionAtom;
      54             :     static Atom sMozLockAtom;
      55             :     static Atom sMozResponseAtom;
      56             :     static Atom sMozUserAtom;
      57             :     static Atom sMozProfileAtom;
      58             :     static Atom sMozProgramAtom;
      59             :     static Atom sMozCommandLineAtom;
      60             : };
      61             : 
      62             : #endif // NSXREMOTESERVICE_H

Generated by: LCOV version 1.13