25KeyFrame::KeyFrame(
const KeyFrame& k2)
29 mIsModified = k2.mIsModified;
30 mIsSelected = k2.mIsSelected;
31 mAttachedFileName = k2.mAttachedFileName;
39 listener->onKeyFrameDestroy(
this);
52 mIsModified = k2.mIsModified;
53 mIsSelected = k2.mIsSelected;
54 mAttachedFileName = k2.mAttachedFileName;
61 auto it = std::find(mEventListeners.begin(), mEventListeners.end(), listener);
62 if (it == mEventListeners.end())
64 mEventListeners.push_back(listener);
70 auto it = std::find(mEventListeners.begin(), mEventListeners.end(), listener);
71 if (it != mEventListeners.end())
73 mEventListeners.erase(it);