- DECLARE_DYNAMIC_CLASS(wxDDEClient)
- public:
- wxDDEClient(void);
- virtual ~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 wxDDEConnectionList& GetConnections(void) const
- {
- return (wxDDEConnectionList&) m_connections;
- }
+public:
+ wxDDEClient();
+ virtual ~wxDDEClient();
+
+ 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);
+
+ wxDDEConnectionList& GetConnections() const
+ { return (wxDDEConnectionList&) m_connections; }