~ubuntu-branches/ubuntu/precise/koffice/precise

« back to all changes in this revision

Viewing changes to kexi/plugins/scripting/kexiapp/kexiappmodule.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2006-04-20 21:38:53 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20060420213853-j5lxluqvymxt2zny
Tags: 1:1.5.0-0ubuntu2
UbuntuĀ uploadĀ 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************
 
2
 * kexiappmodule.h
 
3
 * This file is part of the KDE project
 
4
 * copyright (C)2004-2005 by Sebastian Sauer (mail@dipe.org)
 
5
 *
 
6
 * This program is free software; you can redistribute it and/or
 
7
 * modify it under the terms of the GNU Library General Public
 
8
 * License as published by the Free Software Foundation; either
 
9
 * version 2 of the License, or (at your option) any later version.
 
10
 * This program 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
 * You should have received a copy of the GNU Library General Public License
 
15
 * along with this program; see the file COPYING.  If not, write to
 
16
 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 
17
 * Boston, MA 02110-1301, USA.
 
18
 ***************************************************************************/
 
19
 
 
20
#ifndef KROSS_KEXIAPP_KEXIAPPMODULE_H
 
21
#define KROSS_KEXIAPP_KEXIAPPMODULE_H
 
22
 
 
23
#include <qstring.h>
 
24
#include <qvariant.h>
 
25
 
 
26
#include <api/module.h>
 
27
 
 
28
namespace Kross { namespace Api {
 
29
    class Manager;
 
30
}}
 
31
 
 
32
namespace Kross { 
 
33
 
 
34
/**
 
35
 * Wrapper around the Kexi-application to access runtime
 
36
 * informations a running Kexi-application likes to
 
37
 * provide.
 
38
 */
 
39
namespace KexiApp {
 
40
 
 
41
    class KexiAppModulePrivate;
 
42
 
 
43
    /**
 
44
     * The Kexi-application module which provides us the
 
45
     * main entrypoint to communicate with a running
 
46
     * Kexi-application.
 
47
     */
 
48
    class KexiAppModule : public Kross::Api::Module
 
49
    {
 
50
        public:
 
51
 
 
52
            /**
 
53
             * Constructor.
 
54
             *
 
55
             * \param manager The \a Kross::Api::Manager singleton
 
56
             *        instance used to access this module.
 
57
             */
 
58
            KexiAppModule(Kross::Api::Manager* manager);
 
59
 
 
60
            /**
 
61
             * Destructor.
 
62
             */
 
63
            virtual ~KexiAppModule();
 
64
 
 
65
            /// \see Kross::Api::Object::getClassName
 
66
            virtual const QString getClassName() const;
 
67
 
 
68
        private:
 
69
            /// Private d-pointer class.
 
70
            KexiAppModulePrivate* d;
 
71
    };
 
72
 
 
73
}}
 
74
 
 
75
#endif
 
76