-class WXDLLEXPORT wxDDEClient: public wxClientBase
-{
- DECLARE_DYNAMIC_CLASS(wxDDEClient)
- public:
- wxDDEClient(void);
- ~wxDDEClient(void);
- bool ValidHost(const wxString& host);
- virtual wxConnectionBase *MakeConnection(const wxString& host, const wxString& server, const wxString& topic);
- // Call this to make a connection.
- // Returns NULL if cannot.
- virtual wxConnectionBase *OnMakeConnection(void); // Tailor this to return own connection.
-
- ////////////////////////////////////////////////////////////
- // Implementation
-
- // Find/delete wxDDEConnection corresponding to the HCONV
- wxDDEConnection *FindConnection(WXHCONV conv);
- bool DeleteConnection(WXHCONV conv);
- inline wxList& GetConnections(void) const { return (wxList&) connections; }
-
- protected:
- int lastError;
- wxList connections;
-};
+ bool ValidHost(const wxString& host);
+
+ // Call this to make a connection. Returns NULL if cannot.
+ virtual wxConnectionBase *MakeConnection(const wxString& host,
+ const wxString& server,
+ const wxString& topic);
+
+ // Tailor this to return own connection.
+ virtual wxConnectionBase *OnMakeConnection();
+
+ // Find/delete wxDDEConnection corresponding to the HCONV
+ wxDDEConnection *FindConnection(WXHCONV conv);
+ bool DeleteConnection(WXHCONV conv);