The last remnants of the Old Repub ... er, static looper list data has been

removed.  The old static BLooper functions for managing the looper list are
still there, but they are officially deprecated.  The approved interface
for this information is BPrivate::BLooperList, accessible via the global
BPrivate::gLooperList variable.  Being as it lives in BPrivate, it is for
API-internal use *ONLY*.  User apps use it to their own risk.
Also added a small test to make sure that the size of BLooper stays the
same.  I will probably add this to other classes as well; doesn't hurt to
be safe. =)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@572 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
ejakowatz
2002-08-04 17:16:56 +00:00
parent 8025357ffd
commit 752c497115
7 changed files with 91 additions and 220 deletions
+4 -1
View File
@@ -160,6 +160,9 @@ property_info gApplicationPropInfo[] =
extern const int __libc_argc;
extern const char * const *__libc_argv;
class BMenuWindow : public BWindow
{
};
//------------------------------------------------------------------------------
// debugging
@@ -829,7 +832,7 @@ BWindow* BApplication::window_at(uint32 index, bool incl_menus) const
{
if (count == index)
{
Window = Looper;
Window = dynamic_cast<BWindow*>(Looper);
}
else
{