AppEasy Core SDK
1.5.0
Cross platform mobile and desktop app and game development SDK - The easy way to make apps
|
#include <CzPlatformFacebook.h>
Public Member Functions | |
CzPlatformFacebook () | |
int | Init () |
void | Release () |
bool | Login (const char **permissions, int num_permissions) |
bool | Logout () |
bool | Reauthorise (const char **permissions, int num_permissions) |
CzFacebookRequest | InitRequest (const char *method_name, const char *http_method) |
CzFacebookRequest | InitGraphRequest (const char *graph_path, const char *http_method) |
bool | AddParamString (CzFacebookRequest request, const char *parameter, const char *value) |
bool | AddParamNumber (CzFacebookRequest request, const char *parameter, int64 value) |
bool | SendRequest (CzFacebookRequest request) |
void | DeleteRequest (CzFacebookRequest request) |
const char * | GetResponse (CzFacebookRequest request) |
int | GetErrorCode (CzFacebookRequest request) |
const char * | GetError (CzFacebookRequest request) |
const char * | GetAccessToken () |
bool | IsLoggedIn () const |
void | setWaitingForCallback (bool waiting) |
void | setSessionStatus (eFBStatus status) |
void | setCurrentSession (s3eFBSession *session) |
void | WaitForCallback () |
void | setAppID (const char *app_id) |
bool | isAvailable () const |
bool | isLoggedIn () const |
CzPlatformFacebook () | |
int | Init () |
void | Release () |
bool | Login () |
bool | Logout () |
bool | PostWall (const char *message, const char *link_uri, const char *image_uri, const char *name, const char *description) |
Protected Attributes | |
eFBStatus | SessionStatus |
s3eFBSession * | CurrentSession |
bool | WaitingForCallback |
bool | Available |
Facebook available flag. | |
CzString | AppID |
Facebook App iD. |
CzPlatformFacebook::CzPlatformFacebook | ( | ) | [inline] |
CzPlatformFacebook::CzPlatformFacebook | ( | ) | [inline] |
bool CzPlatformFacebook::AddParamNumber | ( | CzFacebookRequest | request, |
const char * | parameter, | ||
int64 | value | ||
) | [virtual] |
Implements IzPlatformFacebook.
bool CzPlatformFacebook::AddParamString | ( | CzFacebookRequest | request, |
const char * | parameter, | ||
const char * | value | ||
) | [virtual] |
Implements IzPlatformFacebook.
void CzPlatformFacebook::DeleteRequest | ( | CzFacebookRequest | request | ) | [virtual] |
Implements IzPlatformFacebook.
const char * CzPlatformFacebook::GetAccessToken | ( | ) | [virtual] |
Implements IzPlatformFacebook.
const char * CzPlatformFacebook::GetError | ( | CzFacebookRequest | request | ) | [virtual] |
Implements IzPlatformFacebook.
int CzPlatformFacebook::GetErrorCode | ( | CzFacebookRequest | request | ) | [virtual] |
Implements IzPlatformFacebook.
const char * CzPlatformFacebook::GetResponse | ( | CzFacebookRequest | request | ) | [virtual] |
Implements IzPlatformFacebook.
int CzPlatformFacebook::Init | ( | ) | [virtual] |
Implements IzPlatformFacebook.
int CzPlatformFacebook::Init | ( | ) | [virtual] |
Implements IzPlatformFacebook.
CzFacebookRequest CzPlatformFacebook::InitGraphRequest | ( | const char * | graph_path, |
const char * | http_method | ||
) | [virtual] |
Implements IzPlatformFacebook.
CzFacebookRequest CzPlatformFacebook::InitRequest | ( | const char * | method_name, |
const char * | http_method | ||
) | [virtual] |
Implements IzPlatformFacebook.
bool CzPlatformFacebook::isAvailable | ( | ) | const [inline] |
Reimplemented from IzPlatformFacebook.
bool CzPlatformFacebook::isLoggedIn | ( | ) | const [inline] |
bool CzPlatformFacebook::IsLoggedIn | ( | ) | const [inline, virtual] |
Implements IzPlatformFacebook.
bool CzPlatformFacebook::Login | ( | const char ** | permissions, |
int | num_permissions | ||
) | [virtual] |
Implements IzPlatformFacebook.
bool CzPlatformFacebook::Login | ( | ) |
bool CzPlatformFacebook::Logout | ( | ) | [virtual] |
Implements IzPlatformFacebook.
bool CzPlatformFacebook::Logout | ( | ) | [virtual] |
Implements IzPlatformFacebook.
bool CzPlatformFacebook::PostWall | ( | const char * | message, |
const char * | link_uri, | ||
const char * | image_uri, | ||
const char * | name, | ||
const char * | description | ||
) |
bool CzPlatformFacebook::Reauthorise | ( | const char ** | permissions, |
int | num_permissions | ||
) | [virtual] |
Implements IzPlatformFacebook.
void CzPlatformFacebook::Release | ( | ) | [virtual] |
Implements IzPlatformFacebook.
void CzPlatformFacebook::Release | ( | ) | [virtual] |
Implements IzPlatformFacebook.
bool CzPlatformFacebook::SendRequest | ( | CzFacebookRequest | request | ) | [virtual] |
Implements IzPlatformFacebook.
void CzPlatformFacebook::setAppID | ( | const char * | app_id | ) | [inline] |
Reimplemented from IzPlatformFacebook.
void CzPlatformFacebook::setCurrentSession | ( | s3eFBSession * | session | ) | [inline] |
void CzPlatformFacebook::setSessionStatus | ( | eFBStatus | status | ) | [inline] |
void CzPlatformFacebook::setWaitingForCallback | ( | bool | waiting | ) | [inline] |
void CzPlatformFacebook::WaitForCallback | ( | ) | [virtual] |
Implements IzPlatformFacebook.
CzString CzPlatformFacebook::AppID [protected] |
Facebook App iD.
Reimplemented from IzPlatformFacebook.
bool CzPlatformFacebook::Available [protected] |
Facebook available flag.
Reimplemented from IzPlatformFacebook.
s3eFBSession* CzPlatformFacebook::CurrentSession [protected] |
eFBStatus CzPlatformFacebook::SessionStatus [protected] |
bool CzPlatformFacebook::WaitingForCallback [protected] |