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"
|
|
|
|
|
2012-02-25 14:33:28 -06:00
|
|
|
extern "C" {
|
|
|
|
CayaProtocol* protocol();
|
|
|
|
const char* signature();
|
|
|
|
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;
|
|
|
|
}
|