[release]od2y'z Wrappers For Devvies

Hiya,

To make porting docklets from Object Dock to yzDock a little bit easier, I created this wrapper functions.

You could already have seen this working:

- SysStats docklet is now available for yzDock

- MailCheck2 docklet is now available for yzDock

- Calendar 3.4 is now available for yzDock

I will contact other OD-docklet-developers too and ask them to port their docklet to yzDock :)

With these wrappers, you don't need to rewrite your docklet, but simply use the od2yz.h instead of object docks DockletSDK.h. Make sure you have yzDock SDK 0.83.

Also, do not forget to change the DOCKLET_DATA* type to the class your are using ( you can use a typedef).

Next, take a look at the Object Dock event functions used in od2yz.cpp and where necessary, change them to the functions you are using for the events. For example, OnProcessMessage() could point to myClass::ProcessMessage(); so than you need to change that.

Maybe after this, it needs a little bit of fine-tuning, but after all, it will reduce the work you have to do for a port a lot.

Questions: PM or e-mail (averhoev.2@hccnet.nl) me.

Download:

http://mpj.tomaatnet.nl/od2yz/od2yz.h and http://mpj.tomaatnet.nl/od2yz/od2yz.cpp

Enjoy,

Andreas

PS.Y'z is using DockletPath: but I ignored that and implemented my own icon lookup function that should be similiar to the one OD is using.

#107400

Soo this means we have Yzdock and Objectdock a step more closer sharing theire docks??? :woot: :cry: <------ (tears of happiness)

#107401

You just made life easier for us. ;)

Thanks Andreas! Great work. :lol:

#107403

hmm

i wasn`t expecting anything less from my fav developer ;)

Keep on your rule, Aqua God :lol:

#107416

Wow man, your amazing. The dock guro, now all if youd do an ical(full app) port, i think i would love you forever.

#107427

Yeah, thats great work!

I could use the messenger docklet for object dock being converted to YzDock - actually I could do this myself if I had the source code for it. :)

Jonathan

#107754

Originally posted by JonRicoPa@Jan 30 2004, 02:04 PM

Yeah, thats great work!

I could use the messenger docklet for object dock being converted to YzDock - actually I could do this myself if I had the source code for it. :)

Jonathan

I want the messenger docklet!!! :woot: . Please, please, please!! :lol: . Could you send to messenger docklet developer a email to do it? :rolleyes:

#108198

And what about KKmenu ^_^

#108209

what is the messenger docklet? >.

#108483

The messenger docklet is made by someone called Oaktree and can probably be found at this address (for ObjectDock).

Search for Messenger in ObjectDock section of Wincustomize

#108534

Sorry for bumping this thread :( :( :(

Does anyone know where can I get od2yz.h and od2yz.cpp, or has a copy of them and can mail/PM them to me? Thanks in advance!

#485985

Ave (AndreasV) may stop by and check out this thread, but feel free to send him a PM as well.

-NC

#486125