iceWing
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
plugin_cxx.h
Go to the documentation of this file.
1 /* -*- mode: C++; tab-width: 4; c-basic-offset: 4; -*- */
2 
3 /*
4  * Author: Frank Loemker and Dirk Stoessel
5  *
6  * Copyright (C) 1999-2009
7  * Applied Computer Science, Faculty of Technology, Bielefeld University, Germany
8  *
9  * This file is part of iceWing, a graphical plugin shell.
10  *
11  * iceWing is free software; you can redistribute it and/or modify
12  * it under the terms of the GNU General Public License as published by
13  * the Free Software Foundation; either version 2 of the License, or
14  * (at your option) any later version.
15  *
16  * iceWing is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with this program; if not, write to the Free Software
23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
24  */
25 
32 #ifndef iw_plugin_cxx_H
33 #define iw_plugin_cxx_H
34 
35 #include "plugin.h"
36 
37 namespace ICEWING
38 {
39 
40 class Plugin : public plugDefinition
41 {
42  public:
43  Plugin (char *name, int abi_version = PLUG_ABI_VERSION);
44  virtual ~Plugin() {};
45 
46  virtual void Init (grabParameter *para, int argc, char **argv) = 0;
47  virtual int InitOptions () = 0;
48  virtual bool Process (char *ident, plugData *data) = 0;
49 };
50 
51 } /* namespace ICEWING */
52 
53 #endif /* iw_plugin_cxx_H */