#ifndef _INGAMBA_AUTH_CONNECTOR_H #define _INGAMBA_AUTH_CONNECTOR_H // ·¯½Ã¾Æ Ingamba BillingIntegrationServer¿ÍÀÇ Åë½Å #ifdef _RU_INGAMBA_AUTH_PROCESS #include "IngambaAuth\ResultEnum.h" #include "IngambaAuth\IReleaseableObject.h" #include "IngambaAuth\Dto\Dto.h" #include "IngambaAuth\IPaidServicesIntegrationClient.h" using namespace Ingamba; using namespace PaidServicesIntegration; using namespace Wcf; using namespace NativeClient; class IngambaAuthConnector { public: enum { WeeklyPrimiumService = 1, MonthlyPrimiumService = 1, }; IngambaAuthConnector(); ~IngambaAuthConnector(); //Àΰ¨¹Ù ºô¸µ ¼­¹ö¿¡ user_guid¿¡ ÇØ´çÇÏ´Â À¯ÀúÀÇ ÀÎÁõ ¿äû ResultEnum AuthenticateUser( const IngambaAuthInfo& auth_info, const char* client_ip, OUT int* user_guid ); //Àΰ¨¹Ù ºô¸µ ¼­¹ö¿¡ user_guid¿¡ ÇØ´çÇÏ´Â Á¤º¸ ¿äû bool GetAccountInfo( USERGUID user_guid, IngambaUserInfo* OUT user_info ); //ÇÁ¸®¹Ì¾ö ¼­ºñ½º ½ÃÀÛ RC::PrimiumServiceResult StartPrimiumService( const AccountInfo& account_info ); //ÇÁ¸®¹Ì¾ö ¼­ºñ½º¸¦ À¯Áö ÇÒ ¼ö Àִ°¡? RC::PrimiumServiceResult IsKeepingPrimiumService( const AccountInfo& account_info, int& OUT check_time, int& OUT remaining_time ); //ÇÁ¸®¹Ì¾ö ¼­ºñ½º Á¤Áö(ÀϽÃÁ¤Áö) void StopPrimiumService( const AccountInfo& account_info ); private: //Àΰ¨¹Ù ¶óÀ̺귯¸® ·Îµå¹× ¿¬°á ¼³Ã» void _Initialize(); //¸±¸®Áî void _Realease(); private: IPaidServicesIntegrationClientPtr service_client_; HMODULE inatance_module_; CreateInterfaceFunction interface_function_; }; #endif //_RU_INGAMBA_AUTH_PROCESS #endif //_INGAMBA_AUTH_CONNECTOR_H