You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
2.1 KiB
48 lines
2.1 KiB
// --------------------------------------------------------------------------------
|
|
// WebDocs.h
|
|
// Copyright (c)1993-1995 Microsoft Corporation, All Rights Reserved
|
|
// --------------------------------------------------------------------------------
|
|
#ifndef __WEBDOCS_H
|
|
#define __WEBDOCS_H
|
|
|
|
// --------------------------------------------------------------------------------
|
|
// CMimeWebDocument
|
|
// --------------------------------------------------------------------------------
|
|
class CMimeWebDocument : public IMimeWebDocument
|
|
{
|
|
public:
|
|
// ----------------------------------------------------------------------------
|
|
// Construction
|
|
// ----------------------------------------------------------------------------
|
|
CMimeWebDocument(void);
|
|
~CMimeWebDocument(void);
|
|
|
|
// ----------------------------------------------------------------------------
|
|
// IUnknown Members
|
|
// ----------------------------------------------------------------------------
|
|
STDMETHODIMP QueryInterface(REFIID, LPVOID *);
|
|
STDMETHODIMP_(ULONG) AddRef(void);
|
|
STDMETHODIMP_(ULONG) Release(void);
|
|
|
|
// ----------------------------------------------------------------------------
|
|
// IMimeWebDocument Members
|
|
// ----------------------------------------------------------------------------
|
|
STDMETHODIMP GetURL(LPSTR *ppszURL);
|
|
STDMETHODIMP BindToStorage(REFIID riid, LPVOID *ppvObject);
|
|
|
|
// ----------------------------------------------------------------------------
|
|
// CMimeWebDocument Members
|
|
// ----------------------------------------------------------------------------
|
|
HRESULT HrInitialize(LPCSTR pszBase, LPCSTR pszURL);
|
|
|
|
private:
|
|
// ----------------------------------------------------------------------------
|
|
// Private Data
|
|
// ----------------------------------------------------------------------------
|
|
LONG m_cRef; // Reference Count
|
|
LPSTR m_pszBase; // URL Base
|
|
LPSTR m_pszURL; // URL
|
|
CRITICAL_SECTION m_cs; // Thread Safety
|
|
};
|
|
|
|
#endif // __WEBDOCS_H
|