home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 September / Chip_2002-09_cd1.bin / zkuste / vbasic / Data / Utils / XZipComp.exe / XceedZip.Cab / F112513_MsgStack.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-11-17  |  1.3 KB  |  50 lines

  1. #ifndef MsgStackH
  2. #define MsgStackH
  3.  
  4. /*----------------------------------------------------------------------------*/
  5. /* Memory Compression sample using The Xceed Zip Compression Library 4        */
  6. /* For C++Builder 3                                                           */
  7. /* Copyright (c) 1999 Xceed Software Inc.                                     */
  8. /*----------------------------------------------------------------------------*/
  9.  
  10. #include <Classes.hpp>
  11. #include <Controls.hpp>
  12. #include <StdCtrls.hpp>
  13. #include <Forms.hpp>
  14. #include "XceedZipLib_TLB.h"
  15. #include <OleCtrls.hpp>
  16.  
  17. struct TCompressedMessage
  18. {
  19.   Variant             vaCompressed;
  20.   TCompressedMessage* pNext;
  21. };
  22.  
  23. class TfrmMsgStack : public TForm
  24. {
  25. __published:    // IDE-managed Components
  26.   TLabel *Label1;
  27.   TLabel *Label2;
  28.   TLabel *Label3;
  29.   TLabel *Label4;
  30.   TMemo *mmoAdd;
  31.   TButton *btAdd;
  32.   TEdit *edtCount;
  33.   TButton *btRemove;
  34.   TMemo *mmoRemoved;
  35.   TXceedCompressionProxy *xComp;
  36.   void __fastcall btAddClick(TObject *Sender);
  37.   void __fastcall btRemoveClick(TObject *Sender);
  38. private:    // User declarations
  39.   TCompressedMessage* m_pHead;
  40.   long                m_nCount;
  41. public:        // User declarations
  42.   __fastcall TfrmMsgStack(TComponent* Owner);
  43.   __fastcall ~TfrmMsgStack( void );
  44. };
  45.  
  46. extern PACKAGE TfrmMsgStack *frmMsgStack;
  47.  
  48. #endif
  49.  
  50.