• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • arts
 

arts

  • arts
  • kde
  • mcop-dcop
mcopdcopobject.h
1/*
2 Copyright (c) 2001 Nikolas Zimmermann <wildfox@kde.org>
3
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2, or (at your option)
7 any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17
18*/
19
20#ifndef MCOPDCOPOBJECT_H
21#define MCOPDCOPOBJECT_H
22
23#include <dcopobject.h>
24
25#include <tqvaluelist.h>
26#include <tqcstring.h>
27
28typedef TQValueList<TQCString> QCStringList;
29
30class MCOPDCOPObjectPrivate;
31
32class MCOPEntryInfo
33{
34public:
35 MCOPEntryInfo()
36 { }
37
38 ~MCOPEntryInfo()
39 { }
40
41 TQCString functionType()
42 { return m_functionType; }
43
44 TQCString functionName()
45 { return m_functionName; }
46
47 TQCString signature()
48 { return m_signature; }
49
50 QCStringList signatureList()
51 { return m_signatureList; }
52
53 void setFunctionType(TQCString s)
54 { m_functionType = s; }
55
56 void setFunctionName(TQCString s)
57 { m_functionName = s; }
58
59 void setSignature(TQCString s)
60 { m_signature = s; }
61
62 void setSignatureList(QCStringList s)
63 { m_signatureList = s; }
64
65private:
66 TQCString m_functionType, m_functionName, m_signature;
67 QCStringList m_signatureList;
68};
69
70class MCOPDCOPObject : public DCOPObject
71{
72public:
73 MCOPDCOPObject(TQCString name);
74 ~MCOPDCOPObject();
75
76 virtual bool processDynamic(const TQCString &fun, const TQByteArray &data, TQCString &replyType, TQByteArray &replyData);
77 virtual QCStringList functionsDynamic();
78
79 void addDynamicFunction(TQCString value, MCOPEntryInfo *entry);
80
81 Arts::Buffer *callFunction(MCOPEntryInfo *entry, TQCString ifaceName, const TQByteArray &data);
82
83private:
84 MCOPDCOPObjectPrivate *d;
85};
86
87
88#endif
89

arts

Skip menu "arts"
  • Main Page
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

arts

Skip menu "arts"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for arts by doxygen 1.9.4
This website is maintained by Timothy Pearson.