author Kyle Machulis <>
Fri, 29 Mar 2013 15:12:58 -0700
changeset 137136 0db3022ca2e6bec95897850f797f078464a7f529
parent 112525 80e4ab0d24bc64ceaa7693ab5def36faffde7a40
permissions -rw-r--r--
Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot

/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* 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 */


#include "nscore.h"

class nsMaemoNetworkManager
  // Can be called from any thread, most likely the socket transport thread
  static bool OpenConnectionSync();
  static void CloseConnection();

  static bool IsConnected();
  static bool GetLinkStatusKnown();

  // Called from the nsMaemoNetworkLinkService (main thread only)
  static bool Startup();
  static void Shutdown();