StylerDoc.h
上传用户:szled88
上传日期:2015-04-09
资源大小:43957k
文件大小:1k
- // StylerDoc.h : interface of the CStylerDoc class
- //
- #pragma once
- class CStylerDoc : public CDocument
- {
- protected: // create from serialization only
- CStylerDoc();
- DECLARE_DYNCREATE(CStylerDoc)
- // Attributes
- public:
- // Operations
- public:
- // Overrides
- public:
- virtual BOOL OnNewDocument();
- virtual void Serialize(CArchive& ar);
- // Implementation
- public:
- virtual ~CStylerDoc();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- public:
- CString GetCurrentUrl() { return m_strUrl;}
- void SetUrl(CString str) {m_strUrl = str;}
-
- protected:
- CString m_strUrl;
- // Generated message map functions
- protected:
- DECLARE_MESSAGE_MAP()
- public:
- virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
- };