/* A* ------------------------------------------------------------------- B* This file contains source code for the PyMOL computer program C* copyright 1998-2000 by Warren Lyford Delano of DeLano Scientific. D* ------------------------------------------------------------------- E* It is unlawful to modify or remove this copyright notice. F* ------------------------------------------------------------------- G* Please see the accompanying LICENSE file for further information. H* ------------------------------------------------------------------- I* Additional authors of this source file include: -* -* -* Z* ------------------------------------------------------------------- */ #ifndef _H_IOManager #define _H_IOManager struct PyMOLGlobals; struct ObjectMolecule; struct ObjectMap; namespace pymol { struct CObject; } enum { cPlugIOManager_mol = 1, cPlugIOManager_traj = 2, cPlugIOManager_vol = 4, cPlugIOManager_graphics = 8, cPlugIOManager_any = 0xF, }; const char * PlugIOManagerFindPluginByExt(PyMOLGlobals * G, const char * ext, int mask=0); #ifdef __cplusplus extern "C" { #endif int PlugIOManagerInit(PyMOLGlobals * G); int PlugIOManagerFree(PyMOLGlobals * G); int PlugIOManagerLoadTraj(PyMOLGlobals * G, ObjectMolecule * obj, const char *fname, int frame, int interval, int average, int start, int stop, int max, const char *sele, int image, const float *shift, int quiet, const char *plugin_type); ObjectMap *PlugIOManagerLoadVol(PyMOLGlobals * G, ObjectMap * obj, const char *fname, int state, int quiet, const char *plugin_type); ObjectMolecule *PlugIOManagerLoadMol(PyMOLGlobals * G, ObjectMolecule *origObj, const char *fname, int state, int quiet, const char *plugin_type); pymol::CObject* PlugIOManagerLoad(PyMOLGlobals* G, pymol::CObject** obj_ptr, const char *fname, int state, int quiet, const char *plugin_type, int mask=0); #ifdef __cplusplus } #endif #endif