haiku/headers/private/app/ApplicationPrivate.h
Clemens Zeidler da1c93175d Revert r39462 because it was not really binary compatible.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39469 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-17 22:19:09 +00:00

30 lines
679 B
C++

/*
* Copyright 2001-2006, Haiku.
* Distributed under the terms of the MIT License.
*
* Authors:
* Ingo Weinhold <bonefish@cs.tu-berlin.de>
*/
#ifndef _APPLICATION_PRIVATE_H
#define _APPLICATION_PRIVATE_H
#include <Application.h>
struct server_read_only_memory;
class BApplication::Private {
public:
static inline BPrivate::PortLink *ServerLink()
{ return be_app->fServerLink; }
static inline BPrivate::ServerMemoryAllocator* ServerAllocator()
{ return be_app->fServerAllocator; }
static inline server_read_only_memory* ServerReadOnlyMemory()
{ return (server_read_only_memory*)be_app->fServerReadOnlyMemory; }
};
#endif // _APPLICATION_PRIVATE_H