#ifndef _ACCOUNT_H_ #define _ACCOUNT_H_ #include "../hScript/hScript.h" class account { public: //Declare the class itself DECLARE_SCRIPT_CLASS(account) //And the class constructor and destructor DECLARE_SCRIPT_CONSTRUCTOR(account) DECLARE_SCRIPT_DESTRUCTOR(account) //Define our methods DECLARE_SCRIPT_METHOD(withdraw) DECLARE_SCRIPT_METHOD(deposit) DECLARE_SCRIPT_METHOD(getBalance) DECLARE_SCRIPT_METHOD(printBalance) private: double balance; }; #endif