-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathFacebook.hpp
44 lines (36 loc) · 913 Bytes
/
Facebook.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//
// Facebook.hpp
// Maw Kit
//
// Created by Lluís Ulzurrun de Asanza Sàez on 18/02/16.
//
//
#ifndef Facebook_hpp
#define Facebook_hpp
#include <string>
namespace MK {
/**
* `Facebook` namespace features constants and methods used to interact
* with Facebook API.
*/
namespace Facebook {
/**
* Shows Facebook invite modal view controller with given link and thumbnail
* URL. If no parameter is given default invitation will be sent.
*
* @ios
* @native
*
* @param linkURL URL to be opened after app is installed.
* @param thumbnailURL URL of thumbnail to be attached.
*/
void sendInvitation( const std::string &linkURL, const std::string &thumbnailURL );
/**
* Returns whether Facebook integration is enabled or not.
*
* @return `true` is Facebook integration is enabled.
*/
const bool enabled();
}; // namespace Facebook
}; // namespace LE
#endif /* Facebook_hpp */