Location:
W32STD.H
Link against: ws32.lib
class CWsGraphic : public CBase;
Client representation of a window-server-side piece of artwork owned by this Client
CBase
- Base class for all classes to be instantiated on the heap
CWsGraphic
- Client representation of a window-server-side piece of artwork owned by this Client
Defined in CWsGraphic
:
BaseConstructL()
, BaseConstructL()
, BaseConstructL()
, CWsGraphic()
, CWsGraphic_Reserved1()
, CWsGraphic_Reserved2()
, CWsGraphic_Reserved3()
, Destroy()
, Flush()
, HandleMessage()
, Id()
, IsActive()
, OnClientClose()
, OnReplace()
, SendMessage()
, SendSynchronMessage()
, SetGraphicExtension()
, Share()
, ShareGlobally()
, UnShare()
, UnShareGlobally()
, ~CWsGraphic()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
Capability: | ProtServ |
protected: IMPORT_C void BaseConstructL(TUid aUid, TUid aType, const TDesC8 &aData);
Constructs a piece of non-transient graphic artwork.
|
protected: IMPORT_C void BaseConstructL(TUid aType, const TDesC8 &aData);
Constructs a piece of transient graphic artwork.
|
protected: IMPORT_C void BaseConstructL(const TWsGraphicId &aReplace, TUid aType, const TDesC8 &aData);
Atomically replace the artwork that already exists with this artwork. If failure to properly construct the replacement artwork occurs, the replacee artwork will remain
|
protected: virtual IMPORT_C TInt ShareGlobally();
Shares the graphic artwork with all the client sessions. Sharing globally trumps explicit shares.
|
protected: virtual IMPORT_C TInt Share(TSecureId aClientId);
Explicitly shares this graphic artwork with client sessions with the specified Secure ID.
|
|
protected: virtual IMPORT_C TInt UnShare(TSecureId aClientId);
Stops this graphic artwork from being shared with all client sessions with the specific Secure ID. ShareGlobally()
trumps explicit sharing.
|
|
protected: virtual IMPORT_C TInt UnShareGlobally();
Prevents this graphic artwork from being shared with all the client sessions. A graphic artwork that isn't shared explicitly
is only available to clients it has been explicitly shared with using Share()
.
|
IMPORT_C const TWsGraphicId &Id() const;
Returns graphic artwork Id.
|
IMPORT_C TBool IsActive() const;
Checks whether a peer of this graphic artwork has been fully constructed on the server.
|
IMPORT_C void Destroy();
Destroys the corresponding CWsGraphicDrawer
instance on the server
protected: IMPORT_C void SendMessage(const TDesC8 &aData) const;
Sends message to this graphic artwork peer on the server.
|
protected: IMPORT_C TInt SendSynchronMessage(const TDesC8 &aData) const;
|
|
protected: IMPORT_C TInt Flush() const;
Flushes window server command buffer
|
protected: IMPORT_C void SetGraphicExtension(MWsObjectProvider *aExt);
|
private: virtual void HandleMessage(const TDesC8 &aData)=0;
Handles message from this graphic artwork peer on the server.
|
private: virtual void OnReplace()=0;
Handles custom operation when this graphic artwork is replaced. When this method is invoked, the replaced peer CWsGraphicDrawer
on the server has been destroyed.