class STDynamicDataLink

Inter-application text messaging. More...

Definition#include <STDynamicDataLink.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

Can be used to send simple text messages to other running applications.

bool  IsNewMessageWaiting ()

IsNewMessageWaiting

Returns True if there is a new, unread text message waiting for you.

bool  IsMessageWaiting ()

IsMessageWaiting

Returns True if there is a text message waiting for you.

bool  SendMessage (QString &TheMessage, int PidToSendTo, QString &AppNameToSendTo)

SendMessage

Used to send a text message to an application.

QString  ExtractMessage (QString &OriginalMessage)

ExtractMessage

Returns only the message part of a text message.

QString  ExtractSender (QString &OriginalMessage)

ExtractSender

Returns only the name of the application that sent a text message.

void  ReplaceMessage (QString &OldMessage)

ReplaceMessage

Pushes a read message back on to the stack of messages.

This is usefull when you are expecting to get a spacific message. You can continue to read messages and use IsNewMessageWaiting() untill you receive your message. Other messages can be left on the stack to be used by other parts of your application.

See also IsNewMessageWaiting STAppLogging STAppLogging::LoggingOn

QString  ReadMessage ()

ReadMessage

Returns the top message waiting on the stack of messages. That message is deleted form the stack.

 STDynamicDataLink ()

STDynamicDataLink

Constructor

 ~STDynamicDataLink ()

~STDynamicDataLink

Destructor


Generated by: root on UtopiaPlanitia.Ept on Mon Dec 10 22:55:12 2001, using kdoc 2.0a53.