Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- // Created by Pat on 9/27/2016.
- //
- #ifdef __cplusplus
- #define EXTERN extern "C"
- #else
- #define EXTERN
- #endif
- typedef const char *string;
- typedef char bool;
- #define string_DEFAULT return (const char *)0;
- #define void_DEFAULT return;
- #define FACEBOOK_STUB(name,ret,parameters) EXTERN ret name parameters { ret##_DEFAULT }
- FACEBOOK_STUB(IOSInit,void,(string a,bool b, string c, string d))
- FACEBOOK_STUB(IOSLogInWithReadPermissions, void, (int requestId, string scope))
- FACEBOOK_STUB(IOSLogInWithPublishPermissions, void, (int requestId, string scope))
- FACEBOOK_STUB(IOSLogOut,void,())
- FACEBOOK_STUB(IOSSetShareDialogMode, void, (int mode))
- FACEBOOK_STUB(IOSShareLink, void, (int requestId, string contentURL, string contentTitle, string contentDescription, string photoURL))
- FACEBOOK_STUB(IOSFeedShare, void, (int requestId, string toId, string link, string linkName, string linkCaption, string linkDescription, string picture, string mediaSource))
- FACEBOOK_STUB(IOSAppRequest, void, (int requestId, string message, string actionType, string objectId, string* to, int toLength, string filters, string* excludeIds, int excludeIdsLength, bool hasMaxRecipients, int maxRecipients, string data, string title))
- FACEBOOK_STUB(IOSAppInvite, void, (int requestId, string message, string actionType))
- FACEBOOK_STUB(IOSCreateGameGroup, void, (int requestId, string name, string description, string privacy))
- FACEBOOK_STUB(IOSJoinGameGroup, void, (int requestId, string groupId))
- FACEBOOK_STUB(IOSFBSettingsActivateApp, void, (string appId))
- FACEBOOK_STUB(IOSFBAppEventsLogEvent, void, (string logEvent, double valueToSum, int numParams, string* paramKeys, string* paramVals))
- FACEBOOK_STUB(IOSFBAppEventsLogPurchase, void, (double logPurchase, string currency, int numParams, string* paramKeys, string* paramVals))
- FACEBOOK_STUB(IOSFBAppEventsSetLimitEventUsage, void, (bool limitEventUsage))
- FACEBOOK_STUB(IOSGetAppLink, void, (int requestID))
- FACEBOOK_STUB(IOSFBSdkVersion, string, ())
- FACEBOOK_STUB(IOSFetchDeferredAppLink, void, (int requestID))
- FACEBOOK_STUB(IOSRefreshCurrentAccessToken, void, (int requestID))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement