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:
@@ -29,8 +29,6 @@
|
|||||||
#define _PORTLINK_H
|
#define _PORTLINK_H
|
||||||
|
|
||||||
#include <OS.h>
|
#include <OS.h>
|
||||||
#include <LinkMsgReader.h>
|
|
||||||
#include <LinkMsgSender.h>
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Error checking rules: (for if you don't want to check every return code)
|
Error checking rules: (for if you don't want to check every return code)
|
||||||
@@ -47,6 +45,8 @@
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
class LinkMsgReader;
|
||||||
|
class LinkMsgSender;
|
||||||
class BPortLink
|
class BPortLink
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@@ -81,7 +81,7 @@ public:
|
|||||||
status_t ReadShape(BShape *shape);
|
status_t ReadShape(BShape *shape);
|
||||||
template <class T> status_t Read(T *data)
|
template <class T> status_t Read(T *data)
|
||||||
{
|
{
|
||||||
return fReader->Read(data,sizeof(T));
|
return Read(data,sizeof(T));
|
||||||
}
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|||||||
Reference in New Issue
Block a user