#include <w32std.h>
class CWsGraphic : public CBase, public CBase |
Public Member Functions | |
---|---|
~CWsGraphic() | |
IMPORT_C void | Destroy() |
IMPORT_C const TWsGraphicId & | Id() |
IMPORT_C TBool | IsActive() |
Protected Member Functions | |
---|---|
CWsGraphic() | |
IMPORT_C void | BaseConstructL(TUid, TUid, const TDesC8 &) |
IMPORT_C void | BaseConstructL(TUid, const TDesC8 &) |
IMPORT_C void | BaseConstructL(const TWsGraphicId &, TUid, const TDesC8 &) |
IMPORT_C TInt | Flush() |
IMPORT_C void | SendMessage(const TDesC8 &) |
IMPORT_C TInt | SendSynchronMessage(const TDesC8 &) |
IMPORT_C RWsSession & | Session() |
IMPORT_C void | SetGraphicExtension(MWsObjectProvider *) |
virtual IMPORT_C TInt | Share(TSecureId) |
virtual IMPORT_C TInt | ShareGlobally() |
virtual IMPORT_C TInt | UnShare(TSecureId) |
virtual IMPORT_C TInt | UnShareGlobally() |
Client representation of a window-server-side piece of artwork owned by this Client
IMPORT_C void | BaseConstructL | ( | const TWsGraphicId & | aReplace, |
TUid | aType, | |||
const TDesC8 & | aData | |||
) | [protected] |
Atomically replace the artwork that already exists with this artwork. If failure to properly construct the replacement artwork occurs, the replacee artwork will remain
Parameters | |
---|---|
aReplace | Graphic artwork which will be replaced. |
aType | New graphic artwork type. |
aData | User specific data. |
IMPORT_C void | Destroy | ( | ) |
Destroys the corresponding CWsGraphicDrawer instance on the server
IMPORT_C TInt | Flush | ( | ) | const [protected] |
Flushes window server command buffer
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 | SendMessage | ( | const TDesC8 & | aData | ) | const [protected] |
Sends message to this graphic artwork peer on the server.
Parameters | |
---|---|
aData | User specific data. |
IMPORT_C RWsSession & | Session | ( | ) | [protected] |
IMPORT_C void | SetGraphicExtension | ( | MWsObjectProvider * | aExt | ) | [protected] |
Explicitly shares this graphic artwork with client sessions with the specified Secure ID.
Parameters | |
---|---|
aClientId | the Secure ID of the client sessions to share with. |
IMPORT_C TInt | ShareGlobally | ( | ) | [protected, virtual] |
Shares the graphic artwork with all the client sessions. Sharing globally trumps explicit shares.
Stops this graphic artwork from being shared with all client sessions with the specific Secure ID. ShareGlobally() trumps explicit sharing.
Parameters | |
---|---|
aClientId | the Secure ID of the client sessions to not share with |
IMPORT_C TInt | UnShareGlobally | ( | ) | [protected, virtual] |
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().