/* ====================================================================
 * 파    일 :	sqlLogStmt.h
 * 목    적 :	데이터를 MSSQLServer에 기록
 * 작 성 자 :	곽철중
 * 작 성 일 :	07/01/12
 * 주의사항 :	
 * =================================================================== */
#ifndef __SQL_LOG_STATEMENT_H__
#define __SQL_LOG_STATEMENT_H__

//#ifndef WINVER
//#define WINVER          0x0500
//#endif
//
//#ifndef _WIN32_WINNT
//#define _WIN32_WINNT    0x0500
//#endif

#pragma once

#include "odbcsql.h"
#include "logprotocol.h"

class cSQLLogStmt :
	public cSQLStatement
{
public:
// 클래스 생성 및 공용 메소드.
	cSQLLogStmt(void);

	SQLRETURN ServerEvent     ( SERVER_EVENT* serverEvent );
	SQLRETURN MemberEvent     ( MEMBER_EVENT* memberEvent );
	SQLRETURN CharacterEvent  ( CHARACTER_EVENT* characterEvent );
	SQLRETURN MoneyEvent      ( MONEY_EVENT* moneyEvent );
	SQLRETURN DepositEvent    ( DEPOSIT_EVENT* depositEvent );
	SQLRETURN InventoryEvent  ( INVENTORY_EVENT* inventoryEvent );
	SQLRETURN ConcurrentEvent ( CONCURRENT_EVENT* concurrentEvent );
	SQLRETURN QuestEvent      ( QUEST_EVENT* questEvent );
	SQLRETURN GuildEvent      ( GUILD_EVENT* guildEvent );

public:
// 클래스 파괴 메소드.
	virtual ~cSQLLogStmt(void);
};

#endif // __SQL_LOG_STATEMENT_H__
