39 lines
677 B
C++
39 lines
677 B
C++
/* -----------------------------------------------------------------------------
|
|
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__
|