2010-05-12 16:48:47 -05:00
|
|
|
/*
|
|
|
|
* Copyright 2010, Alexander Botero-Lowry. All rights reserved.
|
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
|
2010-05-12 15:42:46 -05:00
|
|
|
#include "AIM.h"
|
|
|
|
|
2010-05-16 16:02:50 -05:00
|
|
|
extern "C" __declspec(dllexport) CayaProtocol* protocol();
|
|
|
|
extern "C" __declspec(dllexport) const char* signature();
|
|
|
|
extern "C" __declspec(dllexport) const char* friendly_signature();
|
2010-05-12 15:42:46 -05:00
|
|
|
|
2010-05-16 16:02:50 -05:00
|
|
|
CayaProtocol*
|
|
|
|
protocol()
|
2010-05-12 15:42:46 -05:00
|
|
|
{
|
2010-05-12 16:48:47 -05:00
|
|
|
return (CayaProtocol*)new AIMProtocol();
|
2010-05-12 15:42:46 -05:00
|
|
|
}
|
2010-05-16 16:02:50 -05:00
|
|
|
|
|
|
|
|
|
|
|
const char*
|
|
|
|
signature()
|
|
|
|
{
|
|
|
|
return kProtocolSignature;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const char*
|
|
|
|
friendly_signature()
|
|
|
|
{
|
|
|
|
return kProtocolName;
|
|
|
|
}
|