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 NSAUTODIALQT michael@0: #define NSAUTODIALQT michael@0: michael@0: #include "nspr.h" michael@0: #include "nscore.h" michael@0: michael@0: class nsAutodial michael@0: { michael@0: public: michael@0: nsAutodial(); michael@0: ~nsAutodial(); michael@0: michael@0: nsresult Init(); michael@0: michael@0: // Dial the default RAS dialup connection. michael@0: nsresult DialDefault(const char16_t* hostName); michael@0: michael@0: // Should we try to dial on network error? michael@0: bool ShouldDialOnNetworkError(); michael@0: }; michael@0: michael@0: #endif /* NSAUTODIALQT */