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.
33 lines
1.0 KiB
33 lines
1.0 KiB
// --------------------------------------------------------------------------- |
|
// Name: actTokenAuthProtocolReg.h |
|
// Product: cv act library |
|
// Purpose: factory functions registry to create ITokenAuthProtocol objects. |
|
// |
|
// Copyright: (c) 2009 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: 14/10/2009 |
|
// --------------------------------------------------------------------------- |
|
|
|
#ifndef ACT_TokenAuthProtocolReg_h |
|
#define ACT_TokenAuthProtocolReg_h |
|
|
|
#include "actFactoryReg.h" |
|
|
|
namespace act |
|
{ |
|
class ITokenAuthProtocol; |
|
|
|
typedef ITokenAuthProtocol* (*CreateTokenAuthProtocolPtr)(const char*); |
|
typedef FactoryMapEntry<CreateTokenAuthProtocolPtr> TokenAuthProtocolMapEntry; |
|
|
|
typedef FactoryReg |
|
< ITokenAuthProtocol, CreateTokenAuthProtocolPtr, TokenAuthProtocolMapEntry |
|
> TokenAuthProtocolReg; |
|
|
|
} // namespace act |
|
|
|
#endif // ACT_TokenAuthProtocolReg_h
|
|
|