First public contribution.
     1 // Copyright (c) 2008-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.
 
    19  @internalComponent - Internal Symbian test code
 
    22 #ifndef WSBUFFERDRAWER_H_
 
    23 #define WSBUFFERDRAWER_H_
 
    27 const TUid KBufferDrawerInterfaceId = {0x10285D53};
 
    28 const TUid KBufferDrawerImplId = {0x10285D54};
 
    30 /** Client representation of a window-server-side drawing owned by this Client
 
    34 NONSHARABLE_CLASS(CWsBufferGraphic): public CWsGraphic
 
    37 	IMPORT_C static CWsBufferGraphic* NewL();
 
    38 	IMPORT_C static CWsBufferGraphic* NewL(TUid aUid);
 
    39 	IMPORT_C static CWsBufferGraphic* NewL(const TWsGraphicId& aReplace);
 
    40 	IMPORT_C ~CWsBufferGraphic();
 
    41 	IMPORT_C TInt UpdateWhiteLinePos(TInt aWhiteLinePos);
 
    43 public: // protected virtuals from CWsGraphic promoted to public
 
    44 	IMPORT_C TInt ShareGlobally();
 
    45 	IMPORT_C TInt UnShareGlobally();
 
    46 	IMPORT_C TInt Share(TSecureId aClientId);
 
    47 	IMPORT_C TInt UnShare(TSecureId aClientId);
 
    51 	void HandleMessage(const TDesC8& aData);
 
    55 #endif /*WSBUFFERDRAWER_H_*/