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:
Ingo Weinhold 2005-12-10 17:48:00 +00:00
parent c2270088dc
commit a41a0db6f2
2 changed files with 16 additions and 6 deletions

View File

@ -77,9 +77,9 @@ run_app_thread(void* cookie)
class DView : public BView {
public:
DView(BRect bounds);
virtual ~DView() {}
virtual ~DView();
virtual void AttachedToWindow();
// virtual void AttachedToWindow();
// DView
void ForwardMessage(BMessage* message = NULL);
@ -92,9 +92,9 @@ class DWindow : public BDirectWindow {
public:
DWindow(BRect frame,
DWindowBuffer* buffer);
virtual ~DWindow() {}
virtual ~DWindow();
virtual void MessageReceived(BMessage* message);
// virtual void MessageReceived(BMessage* message);
virtual bool QuitRequested();
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
// to the server's port. Being we're using a regular window, it would make little sense
// to do anything else.
@ -216,6 +221,11 @@ DWindow::DWindow(BRect frame, DWindowBuffer* buffer)
}
DWindow::~DWindow()
{
}
// QuitRequested
bool
DWindow::QuitRequested()

View File

@ -25,7 +25,7 @@ SubDirC++Flags $(defines) ;
SEARCH_SOURCE += $(appServerDir) [ FDirName $(appServerDir) drawing ] ;
SharedLibrary libhwinterface.so :
# BBitmapBuffer.cpp
BBitmapBuffer.cpp
DWindowBuffer.cpp
HWInterface.cpp
MultiLocker.cpp
@ -43,7 +43,7 @@ LINKFLAGS on libhwinterfaceimpl.so ?= $(LINKFLAGS) ;
LINKFLAGS on libhwinterfaceimpl.so += -lbe ;
SharedLibrary libhwinterfaceimpl.so :
# ViewHWInterface.cpp
ViewHWInterface.cpp
DWindowHWInterface.cpp
: be game libhwinterface.so