os/graphics/graphicsdeviceinterface/directgdiadaptation/hwsrc/directgdidriverinternal.cpp
Update contrib.
1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #include "directgdidriverimpl.h"
17 #include <graphics/directgdidriverinternal.h>
20 Creates an object of the derived class i.e. CDirectGdiDriverImpl
22 @param aInternal A reference to a CDirectGdiDriverInternal pointer.
23 @param aLibrary A handle to the adapter library. Only used on WINS.
25 @pre CDirectGdiDriver object has been initialised from the calling thread.
26 @post Instance of CDirectGdiDriverImpl has been created.
28 @return KErrNone if successful, otherwise one of the system-wide error codes.
30 EXPORT_C TInt CDirectGdiDriverInternal::New(CDirectGdiDriverInternal*& aInternal, RLibrary aLibrary)
32 return CDirectGdiDriverImpl::New(aInternal, aLibrary);