made C++ version compile, but no implementation of onSave and onSaveAs