//---------------------------------------------------------------------------
#ifndef MainH
#define MainH
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <FMX.Controls.hpp>
#include <FMX.Forms.hpp>
#include <FMX.ActnList.hpp>
#include <FMX.Layouts.hpp>
#include <FMX.MediaLibrary.Actions.hpp>
#include <FMX.Memo.hpp>
#include <FMX.StdActns.hpp>
#include <FMX.StdCtrls.hpp>
#include <FMX.Types.hpp>
#include <System.Actions.hpp>
#include <FMX.Controls.Presentation.hpp>
#include <FMX.ExtCtrls.hpp>
#include <FMX.ScrollBox.hpp>
#include <FMX.Memo.Types.hpp>
#include "Winsoft.Android.Obr.hpp"
//---------------------------------------------------------------------------
class TFormMain : public TForm
{
__published:	// IDE-managed Components
	TActionList *ActionList;
	TTakePhotoFromCameraAction *TakePhotoFromCameraAction;
	TMemo *Memo;
	TButton *ButtonTakePhoto;
	TImageViewer *ImageViewer;
	void __fastcall TakePhotoFromCameraActionDidCancelTaking();
	void __fastcall TakePhotoFromCameraActionDidFinishTaking(TBitmap *Image);
    void __fastcall FormCreate(TObject *Sender);
  void __fastcall FormDestroy(TObject *Sender);
private:	// User declarations
  TBarcodeDecoder *BarcodeDecoder;
public:		// User declarations
	__fastcall TFormMain(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TFormMain *FormMain;
//---------------------------------------------------------------------------
#endif
