Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Support for Interpreted Languages?
MortenMacFly:
--- Quote from: dmoore on June 16, 2007, 03:50:08 pm ---latest build (rev 31), which includes a file explorer here:
--- End quote ---
I guess it's rev 35 already...?! ;-)
Two notes I'd like to tell:
1.) in InterpretedLangs.h: You need to include sdk.h *first*. Please change the code to:
--- Code: ---#include <sdk.h>
#include <cbplugin.h> // for "class cbPlugin"
--- End code ---
2.) in FileExplorer.h: According to you path settings you need to use <sdk.h> instead of "sdk.h" for th include. (Notice that I have changed that on 1.) too).
After these changes I was able to compile... now I'm testing... ;-)
With regards, Morten.
dmoore:
thanks for the notes morten. I still don't fully understand the plugin architecture in cb. Should the "#include <sdk.h>" still come after the wx includes?
--- Quote from: MortenMacFly on June 17, 2007, 07:48:53 pm ---I guess it's rev 35 already...?! ;-)
--- End quote ---
I'm using the berlios repository as my main repository for this project now, so all changes each day get commited. I still have lots to do... (not enough hours in the day)
--- Quote ---After these changes I was able to compile... now I'm testing... ;-)
--- End quote ---
I'm sure you will encounter lots of bugs and missing features, so look forward to hearing from you. NB: the $paths specifier doesn't do anything useful at the moment because I still haven't implemented multi-select in the file explorer. anyway, the svn log will give you a good idea of what's there...
killerbot:
sdk.h and wx headers :
normally the order shouldn't matter, the headers files should play nice along.
However when including sdk.h first and then ifdef on CB_PRECOMP you can split further includes and when CB_PRECOMP is defined precompiled headers can kick in. But for this you need to check each time what sdk.h brings because if it brings a file you wanted to include, no need to include again in the ifdef part, but you have to include it in the #else part.
dmoore:
thanks for the info killerbot
---
rev 36,37: updated headers per Mortens advice and fixed a bunch of bugs in FileExplorer popup menu commands (copy, rename, delete etc) (mostly affect win32 - damn wx inconsistencies)
dmoore:
latest win32 build here: http://developer.berlios.de/project/showfiles.php?group_id=7745&release_id=12960
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version