NAMD
PluginIOMgr.h
Go to the documentation of this file.
1 #ifndef PLUGINIOMGR_H
2 #define PLUGINIOMGR_H
3 
4 #include "molfile_plugin.h"
5 #include "libmolfile_plugin.h"
6 //#include "hash.h"
7 
8 class PluginIOMgr{
9 //public:
10  //static const int MAX_PLUGINS;
11 private:
12  //hast_t pluginhash;
13  //int numPlugins;
14  //very initial implementation, later this
15  //should be changed
16  molfile_plugin_t *psfpdbPlugin;
17 
18 public:
19  PluginIOMgr();
20  ~PluginIOMgr();
21  //molfile_plugin_t *getPlugin(const char *filetype);
22  molfile_plugin_t *getPlugin() { return psfpdbPlugin; }
23  void setPlugin(molfile_plugin_t *p) { psfpdbPlugin = p; }
24 };
25 
26 #endif
molfile_plugin_t * getPlugin()
Definition: PluginIOMgr.h:22
void setPlugin(molfile_plugin_t *p)
Definition: PluginIOMgr.h:23