No need to include that stuff, a forward declaration will do
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12513 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
8829157fbf
commit
541a224df8
@ -29,8 +29,6 @@
|
||||
#define _PORTLINK_H
|
||||
|
||||
#include <OS.h>
|
||||
#include <LinkMsgReader.h>
|
||||
#include <LinkMsgSender.h>
|
||||
|
||||
/*
|
||||
Error checking rules: (for if you don't want to check every return code)
|
||||
@ -47,6 +45,8 @@
|
||||
|
||||
*/
|
||||
|
||||
class LinkMsgReader;
|
||||
class LinkMsgSender;
|
||||
class BPortLink
|
||||
{
|
||||
public:
|
||||
@ -81,7 +81,7 @@ public:
|
||||
status_t ReadShape(BShape *shape);
|
||||
template <class T> status_t Read(T *data)
|
||||
{
|
||||
return fReader->Read(data,sizeof(T));
|
||||
return Read(data,sizeof(T));
|
||||
}
|
||||
|
||||
protected:
|
||||
|
Loading…
x
Reference in New Issue
Block a user