home *** CD-ROM | disk | FTP | other *** search
- //---------------------------------------------------------------------------
- #ifndef unMemEncodingH
- #define unMemEncodingH
- //---------------------------------------------------------------------------
- #include <Classes.hpp>
- #include <Controls.hpp>
- #include <StdCtrls.hpp>
- #include <Forms.hpp>
- #include "XceedBinaryEncodingLib_OCX.h"
- #include "XceedBinaryEncodingLib_TLB.h"
- //---------------------------------------------------------------------------
- class TfrmMemEncoding : public TForm
- {
- __published: // IDE-managed Components
- TLabel *Label1;
- TLabel *Label2;
- TLabel *Label3;
- TLabel *Label4;
- TLabel *Label5;
- TLabel *Label6;
- TLabel *Label8;
- TLabel *lblDecodedSize;
- TLabel *lblEncodedSize;
- TComboBox *cboEncodingMethod;
- TComboBox *cboEndOfLineType;
- TEdit *edtMaxLineLength;
- TMemo *mmoDecodedText;
- TMemo *mmoEncodedText;
- TButton *btEncode;
- TButton *btDecode;
- void __fastcall FormCreate(TObject *Sender);
- void __fastcall mmoEncodedTextChange(TObject *Sender);
- void __fastcall mmoDecodedTextChange(TObject *Sender);
- void __fastcall btEncodeClick(TObject *Sender);
- void __fastcall btDecodeClick(TObject *Sender);
- private: // User declarations
- bool PrepareEncodingFormat( IXceedBinaryEncodingPtr& piEncoder );
- bool PrepareDecodingFormat( IXceedBinaryEncodingPtr& piEncoder );
- public: // User declarations
- __fastcall TfrmMemEncoding(TComponent* Owner);
- };
- //---------------------------------------------------------------------------
- extern PACKAGE TfrmMemEncoding *frmMemEncoding;
- //---------------------------------------------------------------------------
- #endif
-