Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

Plugin files stucture myPlugin.cbplugin

(1/2) > >>

omlk:
Please tell me which files and in which structure they should be created so that a plugin with the *.cbplugin extension can be installed through the code::blocks.
Example:


--- Code: ---myPlugin_v1.0.0.cbplugin
  | - manifest.xml
  | - my_plugin.dll
  | - myPlugin_v1.0.0.zip
  | - ...

--- End code ---

Pecan:

--- Quote from: omlk on November 15, 2023, 03:18:09 pm ---Please tell me which files and in which structure they should be created so that a plugin with the *.cbplugin extension can be installed through the code::blocks.
Example:


--- Code: ---myPlugin_v1.0.0.cbplugin
  | - manifest.xml
  | - my_plugin.dll
  | - myPlugin_v1.0.0.zip
  | - ...

--- End code ---

--- End quote ---

The *.cbplugin needs a .zip file containing the manifest.
Along with the .zip file, *.cbplugin needs the .dll file.
So it looks like:
*.cbPlugin
|- myPlugin.zip
     |- myManifest.xml
|- myPlugin.dll

.cbplugin is actually a .zip file renamed to cbplugin.
You can also include resources within the internal myPlugin.zip file along with the .xml manifest file.
Like images that can be loaded by the .dll

Wkerry:
It's there info in the wiki?
Did omil look in the wiki or is omil lazy?

omlk:

--- Quote from: Wkerry on November 16, 2023, 09:56:12 am ---It's there info in the wiki?
Did omil look in the wiki or is omil lazy?

--- End quote ---
Of course, I accidentally came across the wiki, but I don't know about you, but everything is so confusing and there is a lot of text, that I think it could all be shown on one screenshot with arrows, what comes from where and where.  ;) 
 Creating a simple "Hello World" plugin


 
  codeblocks_plugin_wiki.PNG (62.95 kB, 1271x721 )
 

Miguel Gimenez:
Managing Plug-in Resources

Navigation

[0] Message Index

[#] Next page

Go to full version