[interfacekit] Re: [Open-beos-cvs]CVS: current/src/kits/app Clipboard.cpp,NONE,1.1

  • From: "Ingo Weinhold" <bonefish@xxxxxxxxxxxxxxx>
  • To: "Interface Kit" <interfacekit@xxxxxxxxxxxxx>
  • Date: Tue, 13 Aug 2002 18:17:59 CEST (+0200)

> Update of /cvsroot/open-beos/current/src/kits/app
> In directory usw-pr-cvs1:/tmp/cvs-serv25548/src/kits/app
> 
> Added Files:
>       Clipboard.cpp 
> Log Message:
> Initial checkin for Gabe Yoder.

Hi Gabe,

although I scheduled the clipboards support for phase 3 of the 
registrar development, we won't get into each others way, when you 
implement the it now. The registrar side is ready for being started 
with the clipboard code. Basically only the ClipboardHandler class has 
to be extended. From the BClipboard class a messenger to it can be 
obtained via

        BMessage message(B_REG_GET_CLIPBOARD_MESSENGER), reply;
        if (_send_to_roster_(&message, &reply, false) == B_OK
                && reply.what == B_REG_SUCCESS
                && reply.FindMessenger("messenger", &fClipHandler) == B_OK)
                ...

Please add the protocols you are introducing to docs/develop/servers/
registrar/Protocols and the message code definitions to headers/private
/app/RegistrarDefs.h.
Thanks.

CU, Ingo



Other related posts: