Plug-in Writer's Tutorial
Plug-in writers implement the interface definition, provide the registry information of the implementation and export the implementation. A plug-in writer needs to understand the interface definition, DLL creation and platform security implementation requirements of the framework.
-
Implementing an Interface
An interface implementation is a single unit of functionality that is instantiated through the interface definition. An implementation is created by deriving a class from the interface definition, and implementing its functions. An interface implementation actually provides the services defined by the interface.
-
Exporting the Implementation Factories
-
Creating a Registration Resource File
The properties of the implementation are published in a compiled resource file. This file is known as the registration resource file of the implementation and has a
.rss
extension. The plug-in framework reads the resource files to find the interface implementations available on the system. In case of an implementation collection, the collection has one registration resource file and the properties of all the implementations of the collection are described in the file.
-
Creating an Implementation Project File
The format of implementation project file is dependent on the version of the Symbian platform used. The differences basically reflect the introduction of platform security into Symbian OS v9.0 and later versions.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.