eapol/eapol_framework/eapol_common/am/include/eap_am_trace.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 18 Jan 2010 20:22:35 +0200
changeset 2 1c7bc153c08e
parent 0 c8830336c852
child 26 9abfd4f00d37
permissions -rw-r--r--
Revision: 201001 Kit: 201003

/*
* Copyright (c) 2001-2006 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  EAP and WLAN authentication protocols.
*
*/

/*
* %version: 9 %
*/

#error Not used any more.

#if !defined(_EAP_AM_TRACE_H_) && 0
#define _EAP_AM_TRACE_H_


#include "eap_am_export.h"
#include "eap_variable_data.h"


class EAP_EXPORT abs_eap_am_trace_c
{
public:

	/**
	 * Destructor does nothing special.
	 */
	virtual ~abs_eap_am_trace_c()
	{
	}

	virtual void formatted_print(eap_format_string format, ...) = 0;
};


class EAP_EXPORT eap_am_trace_c
{
public:

	/**
	 * Destructor does nothing special.
	 */
	virtual ~eap_am_trace_c()
	{
	}

	eap_am_trace_c(const char *pfilename);

	void formatted_print(eap_format_string format, ...);

private:

	const eap_char *m_filename;
	bool m_directory_exists;
};


#endif //#if !defined(_EAP_AM_TRACE_H_)



// End.