first commit
This commit is contained in:
38
include/platform/social/social.h
Normal file
38
include/platform/social/social.h
Normal file
@ -0,0 +1,38 @@
|
||||
/* -----------------------------------------------------------------------------
|
||||
GSFramework
|
||||
Copyright 2001-2013 Emmanuel Julien. All Rights Reserved.
|
||||
----------------------------------------------------------------------------- */
|
||||
|
||||
|
||||
#ifndef __NSOCIAL__
|
||||
#define __NSOCIAL__
|
||||
|
||||
|
||||
namespace GS {
|
||||
namespace Social {
|
||||
|
||||
struct Account
|
||||
{
|
||||
String login;
|
||||
|
||||
String first, middle, last;
|
||||
String email;
|
||||
|
||||
String address, phone;
|
||||
};
|
||||
|
||||
/*!
|
||||
@short Social system abstract interface.
|
||||
@author Emmanuel Julien (ejulien@owloh.com)
|
||||
*/
|
||||
struct ISocial
|
||||
{
|
||||
virtual bool Login(const char *login, const char *key) = 0;
|
||||
virtual bool Logout() = 0;
|
||||
};
|
||||
|
||||
} // Social
|
||||
} // GS
|
||||
|
||||
|
||||
#endif // __NSOCIAL__
|
||||
Reference in New Issue
Block a user