31 lines
517 B
C++
31 lines
517 B
C++
/*
|
|
* Copyright 2010, Alexander Botero-Lowry. All rights reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
|
|
#include "AIM.h"
|
|
|
|
extern "C" __declspec(dllexport) CayaProtocol* protocol();
|
|
extern "C" __declspec(dllexport) const char* signature();
|
|
extern "C" __declspec(dllexport) const char* friendly_signature();
|
|
|
|
CayaProtocol*
|
|
protocol()
|
|
{
|
|
return (CayaProtocol*)new AIMProtocol();
|
|
}
|
|
|
|
|
|
const char*
|
|
signature()
|
|
{
|
|
return kProtocolSignature;
|
|
}
|
|
|
|
|
|
const char*
|
|
friendly_signature()
|
|
{
|
|
return kProtocolName;
|
|
}
|