// Purpose: interface of wxDialUpManager
// Author: wxWidgets team
// RCS-ID: $Id$
-// Licence: wxWindows license
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
/**
most one instance of this class in the program accessed via Create() and
you can't create the objects of this class directly.
- @beginEventTable{wxDialUpEvent}
+ @beginEventEmissionTable{wxDialUpEvent}
@event{EVT_DIALUP_CONNECTED(func)}
- A connection with the network was established.
+ A connection with the network was established.
@event{EVT_DIALUP_DISCONNECTED(func)}
- The connection with the network was lost.
+ The connection with the network was lost.
@endEventTable
@library{wxcore}
/**
Enable automatic checks for the connection status and sending of
- wxEVT_DIALUP_CONNECTED/wxEVT_DIALUP_DISCONNECTED events. The interval
+ @c wxEVT_DIALUP_CONNECTED/wxEVT_DIALUP_DISCONNECTED events. The interval
parameter is only for Unix where we do the check manually and specifies
how often should we repeat the check (each minute by default). Under
Windows, the notification about the change of connection status is sent
virtual bool HangUp() = 0;
/**
- Returns @true if the computer has a permanent network connection (i.e.
+ Returns @true if the computer has a permanent network connection (i.e.\
is on a LAN) and so there is no need to use Dial() function to go
online.
Sets the commands to start up the network and to hang up again.
*/
- void SetConnectCommand(const wxString& commandDial = "/usr/bin/pon",
- const wxString& commandHangup = "/usr/bin/poff") const;
+ virtual void SetConnectCommand(const wxString& commandDial = "/usr/bin/pon",
+ const wxString& commandHangup = "/usr/bin/poff") = 0;
/**
Sometimes the built-in logic for determining the online status may
bool IsConnectedEvent() const;
/**
- Does this event come from wxDialUpManager::Dial() or from some extrenal
+ Does this event come from wxDialUpManager::Dial() or from some external
process (i.e. does it result from our own attempt to establish the
connection)?
*/