Solved linkage problems. Virtual destructors apparently shouldn't be defined
inline. Commented undefined virtual methods. BBitmapBuffer is still used, so is ViewHWInterface. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15472 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -77,9 +77,9 @@ run_app_thread(void* cookie)
|
|||||||
class DView : public BView {
|
class DView : public BView {
|
||||||
public:
|
public:
|
||||||
DView(BRect bounds);
|
DView(BRect bounds);
|
||||||
virtual ~DView() {}
|
virtual ~DView();
|
||||||
|
|
||||||
virtual void AttachedToWindow();
|
// virtual void AttachedToWindow();
|
||||||
|
|
||||||
// DView
|
// DView
|
||||||
void ForwardMessage(BMessage* message = NULL);
|
void ForwardMessage(BMessage* message = NULL);
|
||||||
@@ -92,9 +92,9 @@ class DWindow : public BDirectWindow {
|
|||||||
public:
|
public:
|
||||||
DWindow(BRect frame,
|
DWindow(BRect frame,
|
||||||
DWindowBuffer* buffer);
|
DWindowBuffer* buffer);
|
||||||
virtual ~DWindow() {}
|
virtual ~DWindow();
|
||||||
|
|
||||||
virtual void MessageReceived(BMessage* message);
|
// virtual void MessageReceived(BMessage* message);
|
||||||
virtual bool QuitRequested();
|
virtual bool QuitRequested();
|
||||||
|
|
||||||
virtual void DirectConnected(direct_buffer_info* info);
|
virtual void DirectConnected(direct_buffer_info* info);
|
||||||
@@ -131,6 +131,11 @@ DView::DView(BRect bounds)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
DView::~DView()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// This function emulates the Input Server by sending the *exact* same kind of messages
|
// This function emulates the Input Server by sending the *exact* same kind of messages
|
||||||
// to the server's port. Being we're using a regular window, it would make little sense
|
// to the server's port. Being we're using a regular window, it would make little sense
|
||||||
// to do anything else.
|
// to do anything else.
|
||||||
@@ -216,6 +221,11 @@ DWindow::DWindow(BRect frame, DWindowBuffer* buffer)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
DWindow::~DWindow()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// QuitRequested
|
// QuitRequested
|
||||||
bool
|
bool
|
||||||
DWindow::QuitRequested()
|
DWindow::QuitRequested()
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ SubDirC++Flags $(defines) ;
|
|||||||
SEARCH_SOURCE += $(appServerDir) [ FDirName $(appServerDir) drawing ] ;
|
SEARCH_SOURCE += $(appServerDir) [ FDirName $(appServerDir) drawing ] ;
|
||||||
|
|
||||||
SharedLibrary libhwinterface.so :
|
SharedLibrary libhwinterface.so :
|
||||||
# BBitmapBuffer.cpp
|
BBitmapBuffer.cpp
|
||||||
DWindowBuffer.cpp
|
DWindowBuffer.cpp
|
||||||
HWInterface.cpp
|
HWInterface.cpp
|
||||||
MultiLocker.cpp
|
MultiLocker.cpp
|
||||||
@@ -43,7 +43,7 @@ LINKFLAGS on libhwinterfaceimpl.so ?= $(LINKFLAGS) ;
|
|||||||
LINKFLAGS on libhwinterfaceimpl.so += -lbe ;
|
LINKFLAGS on libhwinterfaceimpl.so += -lbe ;
|
||||||
|
|
||||||
SharedLibrary libhwinterfaceimpl.so :
|
SharedLibrary libhwinterfaceimpl.so :
|
||||||
# ViewHWInterface.cpp
|
ViewHWInterface.cpp
|
||||||
DWindowHWInterface.cpp
|
DWindowHWInterface.cpp
|
||||||
|
|
||||||
: be game libhwinterface.so
|
: be game libhwinterface.so
|
||||||
|
|||||||
Reference in New Issue
Block a user