diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2002-12-05 05:36:32 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2002-12-05 05:36:32 +0000 |
commit | 60ee6bb60b11bbfbccf56f335c9c6213e6daa79d (patch) | |
tree | 99b0c72c60aeba5d1a0489aae9edd16f371d965c /externals/grill/vasp/source/obj_peaks.cpp | |
parent | bbd9d289d152f6ef085dec680f0b1611c29f0e32 (diff) |
""
svn path=/trunk/; revision=278
Diffstat (limited to 'externals/grill/vasp/source/obj_peaks.cpp')
-rw-r--r-- | externals/grill/vasp/source/obj_peaks.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/externals/grill/vasp/source/obj_peaks.cpp b/externals/grill/vasp/source/obj_peaks.cpp index 1c1a218d..bade1ff1 100644 --- a/externals/grill/vasp/source/obj_peaks.cpp +++ b/externals/grill/vasp/source/obj_peaks.cpp @@ -8,6 +8,7 @@ WARRANTIES, see the file, "license.txt," in this distribution. */ +#include "main.h" #include "classes.h" #include "util.h" #include <math.h> @@ -44,9 +45,9 @@ public: AddInAnything(); AddInInt(); AddOutAnything(2); - SetupInOut(); FLEXT_ADDMETHOD(1,m_peaks); + FLEXT_ADDATTR_VAR("peaks",peaks,m_peaks); } V m_peaks(I n) { peaks = n; } @@ -104,6 +105,8 @@ protected: private: FLEXT_CALLBACK_I(m_peaks); + FLEXT_CALLSET_I(m_peaks); + FLEXT_ATTRGET_I(peaks); }; FLEXT_LIB_V("vasp, vasp.peaks?",vasp_qpeaks) |