• 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 
28 typedef TQValueList<TQCString> QCStringList;
29 
30 class MCOPDCOPObjectPrivate;
31 
32 class MCOPEntryInfo
33 {
34 public:
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 
65 private:
66  TQCString m_functionType, m_functionName, m_signature;
67  QCStringList m_signatureList;
68 };
69 
70 class MCOPDCOPObject : public DCOPObject
71 {
72 public:
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 
83 private:
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
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for arts by doxygen 1.8.11
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |