xref: /haiku/headers/private/app/ApplicationPrivate.h (revision ed6250c95736c0b55da79d6e9dd01369532260c0)
1 /*
2  * Copyright 2001-2006, Haiku.
3  * Distributed under the terms of the MIT License.
4  *
5  * Authors:
6  *		Ingo Weinhold <bonefish@cs.tu-berlin.de>
7  */
8 #ifndef _APPLICATION_PRIVATE_H
9 #define _APPLICATION_PRIVATE_H
10 
11 
12 #include <Application.h>
13 
14 struct server_read_only_memory;
15 
16 
17 class BApplication::Private {
18 	public:
19 		static inline BPrivate::PortLink *ServerLink()
20 			{ return be_app->fServerLink; }
21 
22 		static inline BPrivate::ServerMemoryAllocator* ServerAllocator()
23 			{ return be_app->fServerAllocator; }
24 
25 		static inline server_read_only_memory* ServerReadOnlyMemory()
26 			{ return (server_read_only_memory*)be_app->fServerReadOnlyMemory; }
27 };
28 
29 #endif	// _APPLICATION_PRIVATE_H
30