sl@0: // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // ULogger output framework header sl@0: // sl@0: // sl@0: sl@0: /** sl@0: @file sl@0: @internalTechnology sl@0: @prototype sl@0: */ sl@0: sl@0: #ifndef ULOGGEROUTFRWK_H sl@0: #define ULOGGEROUTFRWK_H sl@0: sl@0: #include sl@0: #include "uloggeroutputplugin.h" sl@0: sl@0: namespace Ulogger sl@0: { sl@0: /*!COutputFramework class. sl@0: */ sl@0: NONSHARABLE_CLASS(COutputFramework) : public CBase sl@0: { sl@0: public: sl@0: /**Standard Symbian OS construction method.*/ sl@0: IMPORT_C static COutputFramework* NewL(MOutputPlugin& aOutputPlugin, const RPointerArray& aOutputSettings); sl@0: /**Destructor.*/ sl@0: IMPORT_C ~COutputFramework(); sl@0: /** This function send data to active output channel. */ sl@0: IMPORT_C TInt SendData(const TDesC8& aData); sl@0: /** */ sl@0: IMPORT_C void ReleaseOutputResources(); sl@0: sl@0: private: sl@0: COutputFramework(MOutputPlugin& aOutputPlugin); sl@0: void ConstructL(const RPointerArray& aOutputSettings); sl@0: sl@0: //data sl@0: MOutputPlugin& iOutputPlugin; sl@0: RPointerArray iOutputSettings; sl@0: }; sl@0: sl@0: } // namespace sl@0: #endif // ULOGGER_H