20 #ifndef MCOPDCOPOBJECT_H
21 #define MCOPDCOPOBJECT_H
23 #include <dcopobject.h>
25 #include <tqvaluelist.h>
26 #include <tqcstring.h>
28 typedef TQValueList<TQCString> QCStringList;
30 class MCOPDCOPObjectPrivate;
41 TQCString functionType()
42 {
return m_functionType; }
44 TQCString functionName()
45 {
return m_functionName; }
48 {
return m_signature; }
50 QCStringList signatureList()
51 {
return m_signatureList; }
53 void setFunctionType(TQCString s)
54 { m_functionType = s; }
56 void setFunctionName(TQCString s)
57 { m_functionName = s; }
59 void setSignature(TQCString s)
62 void setSignatureList(QCStringList s)
63 { m_signatureList = s; }
66 TQCString m_functionType, m_functionName, m_signature;
67 QCStringList m_signatureList;
70 class MCOPDCOPObject :
public DCOPObject
73 MCOPDCOPObject(TQCString name);
76 virtual bool processDynamic(
const TQCString &fun,
const TQByteArray &data, TQCString &replyType, TQByteArray &replyData);
77 virtual QCStringList functionsDynamic();
79 void addDynamicFunction(TQCString value, MCOPEntryInfo *entry);
81 Arts::Buffer *callFunction(MCOPEntryInfo *entry, TQCString ifaceName,
const TQByteArray &data);
84 MCOPDCOPObjectPrivate *d;