netwerk/system/qt/nsQtNetworkLinkService.h
author Danilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk>
Mon, 04 May 2015 07:15:00 +0200
changeset 273955 5b146d08b2c59b69bd7349b1a1e79355886b29a2
parent 98983 f4157e8c410708d76703f19e4dfb61859bfe32d8
child 276613 5c6ab008844a8799e18e372a662c5d2c46b7327c
permissions -rw-r--r--
Bug 1160897 - Fixing .ycm_extra_conf for Fennec. r=ehsan Looks like ycmd fails to parse the file if the -march=arm* option is given Removing it doesn't solve all YCM problems for Fennec, but it allows us to use JumpToDefinition, GetType and semantic auto-completion.

/* 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 http://mozilla.org/MPL/2.0/. */

#ifndef NSQTNETWORKLINKSERVICE_H_
#define NSQTNETWORKLINKSERVICE_H_

#include "nsINetworkLinkService.h"
#include "nsIObserver.h"

class nsQtNetworkLinkService: public nsINetworkLinkService,
                              public nsIObserver
{

public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSINETWORKLINKSERVICE
  NS_DECL_NSIOBSERVER

  nsQtNetworkLinkService();
  virtual ~nsQtNetworkLinkService();

  nsresult Init();
  nsresult Shutdown();

};

#endif /* NSQTNETWORKLINKSERVICE_H_ */