BNotification ABI padding

Add reserved functions and data to avoid future ABI breakage
This commit is contained in:
Brian Hill
2017-09-28 22:19:05 -04:00
parent b960821b9d
commit 8856b51897
2 changed files with 21 additions and 0 deletions
+11
View File
@@ -74,6 +74,15 @@ public:
status_t Send(bigtime_t timeout = -1);
private:
virtual void _ReservedNotification1();
virtual void _ReservedNotification2();
virtual void _ReservedNotification3();
virtual void _ReservedNotification4();
virtual void _ReservedNotification5();
virtual void _ReservedNotification6();
virtual void _ReservedNotification7();
virtual void _ReservedNotification8();
status_t fInitStatus;
BString fSourceSignature;
@@ -90,6 +99,8 @@ private:
BList fRefs;
BList fArgv;
BBitmap* fBitmap;
uint32 _reserved[8];
};
+10
View File
@@ -566,3 +566,13 @@ BNotification::Send(bigtime_t timeout)
return ret;
}
void BNotification::_ReservedNotification1() {}
void BNotification::_ReservedNotification2() {}
void BNotification::_ReservedNotification3() {}
void BNotification::_ReservedNotification4() {}
void BNotification::_ReservedNotification5() {}
void BNotification::_ReservedNotification6() {}
void BNotification::_ReservedNotification7() {}
void BNotification::_ReservedNotification8() {}