AppEasy Core SDK  1.5.0
Cross platform mobile and desktop app and game development SDK - The easy way to make apps
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
CzPlatformFacebook Class Reference

#include <CzPlatformFacebook.h>

Inheritance diagram for CzPlatformFacebook:
IzPlatformFacebook IzPlatformFacebook

List of all members.

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.

Constructor & Destructor Documentation


Member Function Documentation

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.

const char * CzPlatformFacebook::GetAccessToken ( ) [virtual]

Implements IzPlatformFacebook.

const char * CzPlatformFacebook::GetError ( 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::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.

Implements IzPlatformFacebook.

void CzPlatformFacebook::setAppID ( const char *  app_id) [inline]

Reimplemented from IzPlatformFacebook.

void CzPlatformFacebook::setCurrentSession ( s3eFBSession *  session) [inline]
void CzPlatformFacebook::setWaitingForCallback ( bool  waiting) [inline]

Member Data Documentation

Facebook App iD.

Reimplemented from IzPlatformFacebook.

Facebook available flag.

Reimplemented from IzPlatformFacebook.

s3eFBSession* CzPlatformFacebook::CurrentSession [protected]

The documentation for this class was generated from the following files: