kspread

KSpreadAppIface.h
1/* This file is part of the KDE project
2
3 Copyright 1999 Torben Weis <weis@kde.org>
4
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public
7 License as published by the Free Software Foundation; either
8 version 2 of the License, or (at your option) any later version.
9
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Library General Public License for more details.
14
15 You should have received a copy of the GNU Library General Public License
16 along with this library; see the file COPYING.LIB. If not, write to
17 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
19*/
20
21#ifndef KSPREAD_APP_IFACE_H
22#define KSPREAD_APP_IFACE_H
23
24#include <dcopobject.h>
25#include <dcopref.h>
26
27#include <tqmap.h>
28#include <tqstring.h>
29
30namespace KSpread
31{
32
33class AppIface : public DCOPObject
34{
35 K_DCOP
36public:
37 AppIface();
38
39k_dcop:
40 virtual DCOPRef createDoc();
41 virtual DCOPRef createDoc( const TQString& name );
42 virtual TQMap<TQString,DCOPRef> documents();
43 virtual DCOPRef document( const TQString& name );
44};
45
46} // namespace KSpread
47
48#endif
The KSpread namespace.
Definition commands.h:39