Use new init_clipboard() function which initializes the global be_clipboard at libbe init time.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10705 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2005-01-13 00:50:26 +00:00
parent caf19c8b0a
commit 5fa518561e
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,12 @@
// ClipboardPrivate.h
#ifndef _CLIPBOARD_PRIVATE_H
#define _CLIPBOARD_PRIVATE_H
namespace BPrivate {
void init_clipboard();
};
#endif // _CLIPBOARD_PRIVATE_H

View File

@ -25,6 +25,7 @@
//------------------------------------------------------------------------------
#include <stdio.h>
#include <ClipboardPrivate.h>
#include <MessagePrivate.h>
#include <RosterPrivate.h>
@ -42,6 +43,7 @@ DBG(OUT("initialize_before()\n"));
_init_message_();
_init_roster_();
BPrivate::init_clipboard();
DBG(OUT("initialize_before() done\n"));
}