home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 September / Chip_2002-09_cd1.bin / zkuste / vbasic / Data / Utils / XZipComp.exe / XceedEncoding.Cab / F112893_unMemEncoding.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-05-09  |  1.7 KB  |  46 lines

  1. //---------------------------------------------------------------------------
  2. #ifndef unMemEncodingH
  3. #define unMemEncodingH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include "XceedBinaryEncodingLib_OCX.h"
  10. #include "XceedBinaryEncodingLib_TLB.h"
  11. //---------------------------------------------------------------------------
  12. class TfrmMemEncoding : public TForm
  13. {
  14. __published:    // IDE-managed Components
  15.   TLabel    *Label1;
  16.   TLabel    *Label2;
  17.   TLabel    *Label3;
  18.   TLabel    *Label4;
  19.   TLabel    *Label5;
  20.   TLabel    *Label6;
  21.   TLabel    *Label8;
  22.   TLabel    *lblDecodedSize;
  23.   TLabel    *lblEncodedSize;
  24.   TComboBox *cboEncodingMethod;
  25.   TComboBox *cboEndOfLineType;
  26.   TEdit     *edtMaxLineLength;
  27.   TMemo     *mmoDecodedText;
  28.   TMemo     *mmoEncodedText;
  29.   TButton   *btEncode;
  30.   TButton   *btDecode;
  31.   void __fastcall FormCreate(TObject *Sender);
  32.   void __fastcall mmoEncodedTextChange(TObject *Sender);
  33.   void __fastcall mmoDecodedTextChange(TObject *Sender);
  34.   void __fastcall btEncodeClick(TObject *Sender);
  35.   void __fastcall btDecodeClick(TObject *Sender);
  36. private:    // User declarations
  37.   bool PrepareEncodingFormat( IXceedBinaryEncodingPtr& piEncoder );
  38.   bool PrepareDecodingFormat( IXceedBinaryEncodingPtr& piEncoder ); 
  39. public:        // User declarations
  40.   __fastcall TfrmMemEncoding(TComponent* Owner);
  41. };
  42. //---------------------------------------------------------------------------
  43. extern PACKAGE TfrmMemEncoding *frmMemEncoding;
  44. //---------------------------------------------------------------------------
  45. #endif
  46.