//--------------------------------------------------------------------------- #ifndef laskuriformH #define laskuriformH //--------------------------------------------------------------------------- #include #include #include #include #include "laskuri_c.hh" //--------------------------------------------------------------------------- class TForm1 : public TForm { __published: // IDE-managed Components TButton *Button1; TButton *Button2; TButton *Button3; void __fastcall Button1Click(TObject *Sender); void __fastcall Button2Click(TObject *Sender); void __fastcall Button3Click(TObject *Sender); private: // User declarations testi::iCarCounter_ptr __fastcall GetiCarCounterHA_(); testi::iCarCounter_var FiCarCounterHA_; void __fastcall SetiCarCounterHA_(testi::iCarCounter_ptr _ptr); testi::iCarCounter_ptr __fastcall GetiCarCounterKA_(); testi::iCarCounter_var FiCarCounterKA_; void __fastcall SetiCarCounterKA_(testi::iCarCounter_ptr _ptr); public: // User declarations __fastcall TForm1(TComponent* Owner); __property testi::iCarCounter_ptr CarCounterHA = {read=GetiCarCounterHA_, write=SetiCarCounterHA_}; __property testi::iCarCounter_ptr CarCounterKA = {read=GetiCarCounterKA_, write=SetiCarCounterKA_}; }; //--------------------------------------------------------------------------- extern PACKAGE TForm1 *Form1; //--------------------------------------------------------------------------- #endif