1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/security/contentmgmt/cafstreamingsupport/inc/scaflog.h Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,43 @@
1.4 +// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 +// All rights reserved.
1.6 +// This component and the accompanying materials are made available
1.7 +// under the terms of the License "Eclipse Public License v1.0"
1.8 +// which accompanies this distribution, and is available
1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.10 +//
1.11 +// Initial Contributors:
1.12 +// Nokia Corporation - initial contribution.
1.13 +//
1.14 +// Contributors:
1.15 +//
1.16 +// Description:
1.17 +// Implements print functions for streaming caf component.
1.18 +//
1.19 +//
1.20 +
1.21 +/**
1.22 + @file
1.23 + @internalComponent
1.24 + @released
1.25 +*/
1.26 +
1.27 +#ifndef SCAFLOG_H
1.28 +#define SCAFLOG_H
1.29 +
1.30 +#include "securitylog.h"
1.31 +
1.32 +namespace StreamAccess
1.33 + {
1.34 + _LIT8(KComponentName, "[SCAF]");
1.35 +
1.36 + #define DEBUG_PRINTF(a) {SEC_DEBUG_PRINTF(KComponentName, a);}
1.37 + #define DEBUG_PRINTF2(a, b) {SEC_DEBUG_PRINTF2(KComponentName, a, b);}
1.38 + #define DEBUG_PRINTF3(a, b, c) {SEC_DEBUG_PRINTF3(KComponentName, a, b, c);}
1.39 + #define DEBUG_PRINTF4(a, b, c, d) {SEC_DEBUG_PRINTF4(KComponentName, a, b, c, d);}
1.40 + #define DEBUG_PRINTF5(a, b, c, d, e) {SEC_DEBUG_PRINTF5(KComponentName, a, b, c, d, e);}
1.41 +
1.42 + #define DEBUG_CODE_SECTION(a) {SEC_DEBUG_CODE_SECTION(a);}
1.43 +
1.44 + } // End of namespace StreamAccess
1.45 +
1.46 +#endif // SCAFLOG_H