The errors aren't making any sense
First off, header files are not suppose to contain actual code. They're just for defining stuff. Move all that code into a CPP file.
ok, I'll try