GWSOFT.co.uk  

Site by Graham Wharton 
November 21st 2008 06:26:50 PM 



NOTE : This project is not currently in development and is totally unsupported. These pages are here for information only.

getLevel3FunctionNames

Declaration

status_t getLevel3FunctionNames(map<char*, char*> &menunames);

Description

This function is entirely optional, and if implemented means the inclusion of at least one level 3 function in the plugin. The purpose of the plugin is to provide the host software with a list of the available exported functions and an "English" description of the function which can be displayed on a menu. It is passed an STL map which you must fill with the appropriate data. See the example implementation below for an example of how to fill this map.

Example Implementation - Kodak DC210 Plugin

status_t getLevel3FunctionNames(map<char*, char*> &menunames) { //Ensure that the list is empty first menunames.clear(); //Adds a level3 function named "ConfigureCamera" //with a menu descriptor of //"Configure Camera Settings". menunames.insert(pair<char*, char*>("Configure Camera Settings", "ConfigureCamera")); return(B_NO_ERROR); }
BDCP Developers Home Page