You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
985 B
C++

//////////////////////////////////////////////////////////////////////////////
//Îļþ Hyperlink.h
//Ö÷Òª¹¦ÄÜ:
//
//³ÌÐò±àд: 2005-12-07
/////////////////////////////////////////////////////////////////////////////
#pragma once
class COne;
class AFX_EXT_CLASS CHyperlink
{
public:
CHyperlink(void);
virtual ~CHyperlink(void);
protected:
COne *m_pParent;
public:
CString hyperlink;
CString remark;
virtual void Serialize(CArchive& ar, const short &ver);
virtual int Read(CFile& fr, const short& ver);
virtual void Write(CFile& fw, const short& ver);
virtual void WriteDML(CFile& fw, const short& ver, int nBaseTabNum);
virtual int ReadDML(CFile &fw, const short &ver);
virtual void WritePCG(CFile& fw, const short& ver, int nBaseTabNum);
virtual int ReadPCG(CFile &fw, const short &ver);
CString GetHyperlink();
int GetHyperlink(CStringList& list);
void operator=(CHyperlink& hy);
void SetParent(COne* pParent);
COne* GetParent(void);
void Execute(void);
};