X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b91c4601f2cc8fab375dc49a0a1222d58065cfdb..9e9574fe45b176ee74bba8fad7574cf9906145d1:/interface/wx/dialup.h?ds=inline diff --git a/interface/wx/dialup.h b/interface/wx/dialup.h index cc84990bfe..5ad0ce5325 100644 --- a/interface/wx/dialup.h +++ b/interface/wx/dialup.h @@ -2,8 +2,7 @@ // Name: dialup.h // Purpose: interface of wxDialUpManager // Author: wxWidgets team -// RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -25,11 +24,11 @@ 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} @@ -93,7 +92,7 @@ public: /** 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 @@ -119,7 +118,7 @@ public: 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. @@ -157,8 +156,8 @@ public: 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 @@ -207,7 +206,7 @@ public: 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)? */