home *** CD-ROM | disk | FTP | other *** search
- #ifndef MsgStackH
- #define MsgStackH
-
- /*----------------------------------------------------------------------------*/
- /* Memory Compression sample using The Xceed Zip Compression Library 4 */
- /* For C++Builder 3 */
- /* Copyright (c) 1999 Xceed Software Inc. */
- /*----------------------------------------------------------------------------*/
-
- #include <Classes.hpp>
- #include <Controls.hpp>
- #include <StdCtrls.hpp>
- #include <Forms.hpp>
- #include "XceedZipLib_TLB.h"
- #include <OleCtrls.hpp>
-
- struct TCompressedMessage
- {
- Variant vaCompressed;
- TCompressedMessage* pNext;
- };
-
- class TfrmMsgStack : public TForm
- {
- __published: // IDE-managed Components
- TLabel *Label1;
- TLabel *Label2;
- TLabel *Label3;
- TLabel *Label4;
- TMemo *mmoAdd;
- TButton *btAdd;
- TEdit *edtCount;
- TButton *btRemove;
- TMemo *mmoRemoved;
- TXceedCompressionProxy *xComp;
- void __fastcall btAddClick(TObject *Sender);
- void __fastcall btRemoveClick(TObject *Sender);
- private: // User declarations
- TCompressedMessage* m_pHead;
- long m_nCount;
- public: // User declarations
- __fastcall TfrmMsgStack(TComponent* Owner);
- __fastcall ~TfrmMsgStack( void );
- };
-
- extern PACKAGE TfrmMsgStack *frmMsgStack;
-
- #endif
-
-