2010-05-28 15:41:58 -05:00
|
|
|
/*
|
|
|
|
* Copyright 2010, Pier Luigi Fiorini. All rights reserved.
|
|
|
|
* Distributed under the terms of the GPL v2 License.
|
|
|
|
*
|
|
|
|
* Authors:
|
|
|
|
* Pier Luigi Fiorini, pierluigi.fiorini@gmail.com
|
|
|
|
*/
|
|
|
|
|
2010-05-30 13:46:16 -05:00
|
|
|
#include <BeBuild.h>
|
|
|
|
|
2010-05-28 15:41:58 -05:00
|
|
|
#include "FacebookProtocol.h"
|
2010-05-27 20:04:31 -05:00
|
|
|
|
2010-05-30 13:46:16 -05:00
|
|
|
extern "C" _EXPORT CayaProtocol* protocol();
|
|
|
|
extern "C" _EXPORT const char* signature();
|
|
|
|
extern "C" _EXPORT const char* friendly_signature();
|
|
|
|
|
2010-05-27 20:04:31 -05:00
|
|
|
|
|
|
|
CayaProtocol*
|
|
|
|
protocol()
|
|
|
|
{
|
2010-05-28 15:41:58 -05:00
|
|
|
return (CayaProtocol*)new FacebookProtocol();
|
2010-05-27 20:04:31 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const char*
|
|
|
|
signature()
|
|
|
|
{
|
|
|
|
return kProtocolSignature;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const char*
|
|
|
|
friendly_signature()
|
|
|
|
{
|
|
|
|
return kProtocolName;
|
|
|
|
}
|