Main Page   Class Hierarchy   Compound List   File List   Compound Members  

ddehand.h

00001 // DDEHandler.h : main header file for the NETACCESS application
00002 //
00003 
00004 #ifndef DDEHANDLER_H
00005 #define DDEHANDLER_H
00006 
00007 #ifdef __GNUG__
00008 #pragma interface
00009 #endif
00010 
00011 #ifndef __UNIX__
00012 #include <windows.h>
00013 #include <ddeml.h>
00014 #endif
00015 
00016 #include <iostream.h>
00017 #include "misc.h"
00018 #include "wx/string.h"
00019 
00020 class CommandHandler;
00021 
00022 class DDEHandler
00023 {
00024         public:
00025       DDEHandler(CommandHandler*);
00026                 ~DDEHandler();
00027 
00028 #ifndef __UNIX__
00029       void startLoadingWin(const wxString& csLocation);
00030                 void StartBrowser(const wxString& csLocation);
00031 //      void Reset();
00032 #endif
00033       void startLoadingUnix(const wxString&);
00034 
00035         protected:
00036 #ifndef __UNIX__
00037            HSZ hszServName;
00038       HCONV hConv;
00039                 bool _connected;
00040 #endif
00041 };
00042 
00043 #ifndef __UNIX__
00044 HDDEDATA CALLBACK LocationDdeCallBack(UINT type, UINT fmt, HCONV hconv, HSZ hsz1, HSZ hsz2, HDDEDATA hData, DWORD dwData1,DWORD dwData2);
00045 void ChangeSlashes(char* buf);
00046 #endif
00047 
00048 #endif
ddehand.h Source File -- Thu Nov 28 21:24:56 2002 -- 28 Nov 2002 -- 1.2.18 -- -- . -- Main Page