haiku/src/servers/app/ServerPicture.h
Axel Dörfler be05d56c7e * the app_server now uses a global token space - this should later be changed to
have different token spaces depending on the scope of its objects.
* removed TokenHandler - we're now using BTokenSpace instead.
* removed unused IPoint.cpp - if we ever need it again, it can still easily be
  resurrected from the dead.
* some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14925 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-14 19:46:20 +00:00

33 lines
562 B
C++

/*
* Copyright 2001-2005, Haiku, Inc.
* Distributed under the terms of the MIT License.
*
* Authors:
* DarkWyrm <bpmagic@columbus.rr.com>
*/
#ifndef SERVER_PICTURE_H
#define SERVER_PICTURE_H
#include <OS.h>
class AreaLink;
class ServerPicture {
public:
ServerPicture();
~ServerPicture();
status_t InitCheck() const { return fArea >= B_OK ? B_OK : fArea; }
area_id Area() const { return fArea; }
int32 Token() const { return fToken; }
private:
AreaLink* fAreaLink;
area_id fArea;
int32 fToken;
};
#endif /* SERVER_PICTURE_H */