You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.0 KiB
34 lines
1.0 KiB
// --------------------------------------------------------------------------- |
|
// Name: actTokenExtensionReg.h |
|
// Product: cv act library |
|
// Purpose: factory functions registry to create ITokenExtension objects. |
|
// |
|
// Copyright: (c) 2008 cv cryptovision GmbH |
|
// all rights reserved |
|
// Licence: The conditions for the use of this software are regulated |
|
// in the cv act library licence agreement. |
|
// |
|
// Autor: Markus Tesche |
|
// Date: 12/02/2008 |
|
// --------------------------------------------------------------------------- |
|
|
|
#ifndef ACT_TokenExtensionReg_h |
|
#define ACT_TokenExtensionReg_h |
|
|
|
#include "actFactoryReg.h" |
|
|
|
namespace act |
|
{ |
|
class IToken; |
|
class ITokenExtension; |
|
|
|
typedef ITokenExtension* (*CreateTokenExtensionPtr)(const char*, IToken*); |
|
typedef FactoryMapEntry<CreateTokenExtensionPtr> TokenExtensionMapEntry; |
|
|
|
typedef FactoryReg |
|
< ITokenExtension, CreateTokenExtensionPtr, TokenExtensionMapEntry |
|
> TokenExtensionReg; |
|
|
|
} // namespace act |
|
|
|
#endif // ACT_TokenExtensionReg_h
|
|
|