00001
00002
00003
00004
00005
00006 #ifndef _RD_DEPICTOR_H_
00007 #define _RD_DEPICTOR_H_
00008 #include <string>
00009 #ifdef WIN32_DLLBUILD
00010 #include <windows.h>
00011 #endif
00012
00013 #include <GraphMol/RDKitBase.h>
00014 #include <GraphMol/FileParsers/FileParsers.h>
00015 #include <GraphMol/SmilesParse/SmilesWrite.h>
00016
00017 namespace RDKit {
00018 #ifdef WIN32_DLLBUILD
00019 typedef void (CALLBACK* Depictor_TwoArgFunc)(const char* arg1, const char *arg2);
00020 typedef void (CALLBACK* Depictor_OneArgFunc)(const char* arg1);
00021 int SmilesToMolFileDLL(std::string smi,std::string fName,
00022 std::string dllName="depict32-0.dll");
00023 int Add2DCoordsToMolDLL(ROMol &mol,std::string tempFilename="temp-conv.mol");
00024 int Add2DCoordsToMol(ROMol &mol,bool useDLL=true);
00025 #else
00026 int Add2DCoordsToMol(ROMol &mol,bool useDLL=false);
00027 #endif
00028 }
00029
00030 #endif