#ifndef pythonmod_h #define pythonmod_h #pragma interface #ifndef MISC_H #include #endif #ifndef MODULE_H #include #endif #include #include #include #include #include #include #include "pymodule.h" #include "pythonlib/pythonlib.h" class MODULE_pythonmod: public LINUXCONF_MODULE{ private: PYMODULES pmods; /*~PROTOBEG~ MODULE_pythonmod */ public: MODULE_pythonmod (void); int dohtml (const char *key); int domenu (MENU_CONTEXT context, const char *keyword); int execmain (int argc, char *argv[], bool standalone); int message (const char *msg, int argc, const char *argv[]); int probe (int state, int target, bool simul); void setmenu (DIALOG&dia, MENU_CONTEXT context); void usage (SSTRINGS&tb); /*~PROTOEND~ MODULE_pythonmod */ }; #include "pythonmod.p" #endif