--- trunk/src/applications/atom2md/atom2md.cpp 2006/08/02 18:06:18 1020
+++ trunk/src/applications/atom2md/atom2md.cpp 2010/05/10 17:28:26 1442
@@ -1,12 +1,14 @@
/**********************************************************************
-main.cpp - Main conversion program, command-line handling.
+atom2md.cpp - OpenBabel-based conversion program to OpenMD file,
+ command-line handling.
Copyright (C) 1998-2001 by OpenEye Scientific Software, Inc.
-Some portions Copyright (C) 2001-2005 by Geoffrey R. Hutchison
-Some portions Copyright (C) 2004-2005 by Chris Morley
+Some portions Copyright (C) 2001-2006 by Geoffrey R. Hutchison
+Some portions Copyright (C) 2004-2006 by Chris Morley
+Some portions Copyright (C) 2008-2009 by J. Daniel Gezelter
-This file is part of the Open Babel project.
-For more information, see
+This file is part of both the OpenMD and Open Babel projects.
+For more information, see and
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -19,22 +21,18 @@ GNU General Public License for more details.
***********************************************************************/
#include "config.h"
-#if HAVE_IOSTREAM
- #include
-#elif HAVE_IOSTREAM_H
- #include
+
+// used to set import/export for Cygwin DLLs
+#ifdef WIN32
+#define USING_OBDLL
#endif
-#if HAVE_FSTREAM
- #include
-#elif HAVE_FSTREAM_H
- #include
-#endif
-#if HAVE_SSTREAM
- #include
-#elif
- #include
-#endif
+#include
+
+#include
+#include
+#include
+
#include
#include