Click here to Skip to main content
15,886,199 members
Articles / Programming Languages / C++

A Method to Implement Plug-In Functionality

Rate me:
Please Sign up or sign in to vote.
3.86/5 (8 votes)
29 Jan 2009CPOL5 min read 44K   331   33  
This article deals with the ability to support multiple communication protocols through the use of Plug-In Libraries
#ifndef PLUGINTYPES_H
#define PLUGINTYPES_H

#include "..\plugin\plugin.h"
/*
// Typedefs for the plugin functions
typedef void (*pluginInitFunct)( HWND, tServiceLookup* );
typedef void (*pluginFunct)( HWND );

// Plugin Function pointers
pluginInitFunct   PluginInit;
pluginFunct       DeviceReset;
pluginFunct       DeviceReadData;
pluginFunct       DeviceWriteData;
*/
#endif // PLUGINTYPES_H

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Tester / Quality Assurance Formerly IGA Worldwide
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions