home *** CD-ROM | disk | FTP | other *** search
/ The Best of Select: Windows 95 Special 1 / WINDOWS95_1.bin / internet / vogon / webster.h < prev   
Encoding:
C/C++ Source or Header  |  1995-07-29  |  4.3 KB  |  138 lines

  1. // Machine generated IDispatch driver class(es) created with MFCDSPWZ tool.
  2. /////////////////////////////////////////////////////////////////////////////
  3. // _DWebster wrapper class
  4.  
  5. class _DWebster : public COleDispatchDriver
  6. {
  7. // Attributes
  8. public:
  9.     short GetBorderStyle();
  10.     void SetBorderStyle(short);
  11.     LPDISPATCH GetFont();
  12.     void SetFont(LPDISPATCH);
  13.     short GetHWnd();
  14.     void SetHWnd(short);
  15.     BOOL GetEnabled();
  16.     void SetEnabled(BOOL);
  17.     short GetBevelStyleInner();
  18.     void SetBevelStyleInner(short);
  19.     short GetBevelStyleOuter();
  20.     void SetBevelStyleOuter(short);
  21.     long GetBevelWidth();
  22.     void SetBevelWidth(long);
  23.     LPDISPATCH GetFontHeading1();
  24.     void SetFontHeading1(LPDISPATCH);
  25.     LPDISPATCH GetFontHeading2();
  26.     void SetFontHeading2(LPDISPATCH);
  27.     LPDISPATCH GetFontHeading3();
  28.     void SetFontHeading3(LPDISPATCH);
  29.     LPDISPATCH GetFontHeading4();
  30.     void SetFontHeading4(LPDISPATCH);
  31.     LPDISPATCH GetFontHeading5();
  32.     void SetFontHeading5(LPDISPATCH);
  33.     LPDISPATCH GetFontHeading6();
  34.     void SetFontHeading6(LPDISPATCH);
  35.     LPDISPATCH GetFontMenu();
  36.     void SetFontMenu(LPDISPATCH);
  37.     LPDISPATCH GetFontDir();
  38.     void SetFontDir(LPDISPATCH);
  39.     LPDISPATCH GetFontBlockQuote();
  40.     void SetFontBlockQuote(LPDISPATCH);
  41.     LPDISPATCH GetFontExample();
  42.     void SetFontExample(LPDISPATCH);
  43.     LPDISPATCH GetFontPreformatted();
  44.     void SetFontPreformatted(LPDISPATCH);
  45.     LPDISPATCH GetFontListing();
  46.     void SetFontListing(LPDISPATCH);
  47.     LPDISPATCH GetFontNormal();
  48.     void SetFontNormal(LPDISPATCH);
  49.     LPDISPATCH GetFontAddress();
  50.     void SetFontAddress(LPDISPATCH);
  51.     // property 'BevelColorTop' not emitted because of invalid type
  52.     // property 'BevelColorDark' not emitted because of invalid type
  53.     // property 'BevelColorLight' not emitted because of invalid type
  54.     short GetUrlWindowStyle();
  55.     void SetUrlWindowStyle(short);
  56.     short GetTitleWindowStyle();
  57.     void SetTitleWindowStyle(short);
  58.     CString GetPageURL();
  59.     void SetPageURL(LPCTSTR);
  60.     CString GetPageTitle();
  61.     void SetPageTitle(LPCTSTR);
  62.     // property 'AnchorColor' not emitted because of invalid type
  63.     CString GetHomePage();
  64.     void SetHomePage(LPCTSTR);
  65.     CString GetDownloadDir();
  66.     void SetDownloadDir(LPCTSTR);
  67.     long GetPagesToCache();
  68.     void SetPagesToCache(long);
  69.     // property 'BackColor' not emitted because of invalid type
  70.     BOOL GetIgnoreBaseInFile();
  71.     void SetIgnoreBaseInFile(BOOL);
  72.     short GetLoadStatus();
  73.     void SetLoadStatus(short);
  74.     // property 'ForeColor' not emitted because of invalid type
  75.     long GetMaxSockets();
  76.     void SetMaxSockets(long);
  77.     long GetMaxPageLoads();
  78.     void SetMaxPageLoads(long);
  79.     long GetMarginHorizontal();
  80.     void SetMarginHorizontal(long);
  81.     long GetMarginVertical();
  82.     void SetMarginVertical(long);
  83.     BOOL GetLoadImages();
  84.     void SetLoadImages(BOOL);
  85.     BOOL GetShowReferer();
  86.     void SetShowReferer(BOOL);
  87.     CString GetAuthenticName();
  88.     void SetAuthenticName(LPCTSTR);
  89.     CString GetAuthenticPassword();
  90.     void SetAuthenticPassword(LPCTSTR);
  91.     CString GetFromName();
  92.     void SetFromName(LPCTSTR);
  93.     CString GetBrowserName();
  94.     void SetBrowserName(LPCTSTR);
  95.     long GetButtonMask();
  96.     void SetButtonMask(long);
  97.     CString GetProxyServerHTTP();
  98.     void SetProxyServerHTTP(LPCTSTR);
  99.     long GetProxyPortHTTP();
  100.     void SetProxyPortHTTP(long);
  101.  
  102. // Operations
  103. public:
  104.     void Refresh();
  105.     short SaveToDisk(LPCTSTR FileName);
  106.     short Cancel();
  107.     long GetContentSize(LPCTSTR URL);
  108.     long GetContentSizeRead(LPCTSTR URL);
  109.     CString GetContentType(LPCTSTR URL);
  110.     CString GetRedirectedURL(LPCTSTR URL);
  111.     short GetHiddenFlag(LPCTSTR URL);
  112.     short SetHiddenFlag(LPCTSTR URL, BOOL Hidden);
  113.     short DismissPage(LPCTSTR URL);
  114.     long GetLinkCount(LPCTSTR URL);
  115.     CString GetLinkURL(LPCTSTR URL, long Index);
  116.     CString GetContent(LPCTSTR URL, long StartOffset, long Length);
  117.     short GetStatus(LPCTSTR URL);
  118.     CString GetTitle(LPCTSTR URL);
  119.     CString GetText(LPCTSTR URL, long StartOffset, long Length);
  120.     short LoadPage(LPCTSTR URL, short Hidden);
  121.     long GetTextSize(LPCTSTR URL);
  122.     void AboutBox();
  123. };
  124. /////////////////////////////////////////////////////////////////////////////
  125. // _DWebsterEvents wrapper class
  126.  
  127. class _DWebsterEvents : public COleDispatchDriver
  128. {
  129. // Attributes
  130. public:
  131.  
  132. // Operations
  133. public:
  134.     void DoClickURL(BSTR* SelectedURL, BOOL* Cancel);
  135.     void KeyDown(short* KeyCode, short Shift);
  136.     void LoadComplete(BSTR* URL, short Status);
  137. };
  138.