1 /* 2 * Copyright 2001-2005, Haiku, Inc. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * DarkWyrm <bpmagic@columbus.rr.com> 7 */ 8 9 /** Server-side counterpart to BPicture */ 10 11 12 #include "ServerPicture.h" 13 #include "ServerTokenSpace.h" 14 15 16 ServerPicture::ServerPicture() 17 { 18 fToken = gTokenSpace.NewToken(B_SERVER_TOKEN, this); 19 20 int8 *ptr; 21 fArea = create_area("ServerPicture", (void**)&ptr, B_ANY_ADDRESS, 22 B_PAGE_SIZE, B_NO_LOCK, B_READ_AREA | B_WRITE_AREA); 23 } 24 25 26 ServerPicture::~ServerPicture() 27 { 28 } 29