kspread

kspreadcoremodule.h
1/*
2 * Copyright (c) 2005 Cyrille Berger <cberger@cberger.net>
3 * Copyright (c) 2006 Isaac Clerencia <isaac@warp.es>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU Library General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
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
13 * GNU 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 program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 */
19
20#ifndef KSPREAD_KROSS_KSPREADCOREMODULE_H
21#define KSPREAD_KROSS_KSPREADCOREMODULE_H
22
23#include <tqstring.h>
24#include <tqvariant.h>
25
26#define KROSS_MAIN_EXPORT TDE_EXPORT
27
28#include <api/module.h>
29#include <api/event.h>
30
31namespace Kross { namespace Api {
32 class Manager;
33}}
34
35namespace Kross { namespace KSpreadCore {
36
49 class KSpreadCoreModule : public Kross::Api::Module
50 {
51 public:
52 KSpreadCoreModule(Kross::Api::Manager* manager);
53 virtual ~KSpreadCoreModule();
54 virtual const TQString getClassName() const;
55 //virtual Kross::Api::Object::Ptr call(const TQString& name, Kross::Api::List::Ptr arguments);
56 private:
57
58#if 0
72 Kross::Api::Object::Ptr newRGBColor(Kross::Api::List::Ptr);
73#endif
74
75 private:
76 Kross::Api::Manager* m_manager;
77 };
78
79}}
80
81#endif
82