/[ascend]/trunk/pygtk/interface/module.h
ViewVC logotype

Contents of /trunk/pygtk/interface/module.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 132 - (show annotations) (download) (as text)
Wed Dec 21 00:14:13 2005 UTC (18 years, 6 months ago) by johnpye
File MIME type: text/x-chdr
File size: 663 byte(s)
Adding the PyGTK interface to CMU repository. Whaddyareckon?
1 #ifndef SWIG_MODULE_H
2 #define SWIG_MODULE_H
3
4 extern "C"{
5 #include <utilities/ascConfig.h>
6 #include <compiler/compiler.h>
7 #include <general/list.h>
8 #include <compiler/module.h>
9 }
10
11 #include "type.h"
12
13 class Module{
14 private:
15 const module_t *t;
16
17 public:
18 Module();
19 Module(const module_t *t);
20
21 /// Name of the current module (as identified by ASCEND)
22 const char *getName() const;
23
24 /// Modification time (see <time.h>) for the current module
25 const struct tm* getMtime() const;
26
27 /// Filename for the current module
28 const char *getFilename() const;
29
30 /// Return the internal representation of the module
31 const struct module_t *getInternalType() const;
32 };
33
34 #endif

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