Main Page | Recent changes | Edit this page | Page history

Printable version | Disclaimers | Privacy policy

Not logged in
Log in | Help
 

ICore

From KDevelop

As in KDevelop3, the central object that gives access to all shell functionality is Core. There's a ICore interface and Core implementation. ICore interface gives access to all controllers exposed via interfaces. Each plugin is initialized with ICore pointer so it always has access to core via IPlugin::core() method. There's no need for something like KDevelop3's KDevAPI class anymore.

Core is a singleton that needs to be manually initialized by platform application using 'Core::initialize() right after the KApplication object is created and ShellExtension is initialized. ShellExtension is the same thing as in KDevelop3 - the way to platform application to tell which UI configuration files are used and what is the default profile. KDevelop4 shell extension's only difference is defaultArea() method which shall return the name of default UI area (see KDevelop 4 UI for more information about areas).

Retrieved from "http://www.kdevelop.org/mediawiki/index.php/ICore"

This page has been accessed 1,623 times. This page was last modified 15:51, 17 March 2007. Content is available under GNU Free Documentation License 1.2.


[Main Page]
Main Page
Community portal
Current events
Recent changes
Help
Donations

Edit this page
Discuss this page
Page history
What links here
Related changes

Special pages
Bug reports