2012-05-21 04:12:37 -07:00
|
|
|
/* 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/. */
|
2010-08-30 23:23:35 -07:00
|
|
|
|
|
|
|
#ifndef NSAUTODIALQT
|
|
|
|
#define NSAUTODIALQT
|
|
|
|
|
|
|
|
#include "nspr.h"
|
|
|
|
#include "nscore.h"
|
|
|
|
|
|
|
|
class nsAutodial
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
nsAutodial();
|
|
|
|
~nsAutodial();
|
|
|
|
|
|
|
|
nsresult Init();
|
|
|
|
|
|
|
|
// Dial the default RAS dialup connection.
|
2014-01-04 07:02:17 -08:00
|
|
|
nsresult DialDefault(const char16_t* hostName);
|
2010-08-30 23:23:35 -07:00
|
|
|
|
|
|
|
// Should we try to dial on network error?
|
2011-09-28 23:19:26 -07:00
|
|
|
bool ShouldDialOnNetworkError();
|
2010-08-30 23:23:35 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* NSAUTODIALQT */
|