/[ascend]/trunk/pygtk/extmethod.h
ViewVC logotype

Contents of /trunk/pygtk/extmethod.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 532 - (show annotations) (download) (as text)
Mon Apr 24 02:23:08 2006 UTC (14 years, 1 month ago) by johnpye
File MIME type: text/x-chdr
File size: 720 byte(s)
Removed 'interface' directory in trunk/pygtk/interface (moved everything up a level)
Made corresponding changes to SCons* and spec files.
1 #ifndef ASCXX_EXTMETHOD_H
2 #define ASCXX_EXTMETHOD_H
3
4 #include "config.h"
5 extern "C"{
6 #include <utilities/ascConfig.h>
7 #include <compiler/compiler.h>
8 #include <compiler/extfunc.h>
9 }
10
11 #include "symchar.h"
12
13 /**
14 This is a wrapper for external methods as returned
15 by the getExtMethods method of the Library object. At this stage it
16 is purely for extracting meta-data about the ExtMethod.
17 */
18 class ExtMethod {
19 private:
20 const struct ExternalFunc *e;
21 public:
22 ExtMethod();
23 ExtMethod(const struct ExternalFunc *);
24 ExtMethod(const ExtMethod &);
25 const char *getHelp() const;
26 const char *getName() const;
27 const unsigned long getNumInputs() const;
28 const unsigned long getNumOutputs() const;
29 };
30
31 #endif // ASCXX_EXTMETHOD_H

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22