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_chns.cpp | |
parent | bbd9d289d152f6ef085dec680f0b1611c29f0e32 (diff) |
""
svn path=/trunk/; revision=278
Diffstat (limited to 'externals/grill/vasp/source/obj_chns.cpp')
-rwxr-xr-x | externals/grill/vasp/source/obj_chns.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/externals/grill/vasp/source/obj_chns.cpp b/externals/grill/vasp/source/obj_chns.cpp index 1cd15c30..facfe5fe 100755 --- a/externals/grill/vasp/source/obj_chns.cpp +++ b/externals/grill/vasp/source/obj_chns.cpp @@ -8,6 +8,7 @@ WARRANTIES, see the file, "license.txt," in this distribution. */ +#include "main.h" #include "classes.h" #include "util.h" @@ -38,9 +39,9 @@ public: AddInAnything(2); AddOutAnything(); - SetupInOut(); FLEXT_ADDMETHOD(1,m_ix); + FLEXT_ADDATTR_VAR("index",ix,m_ix); } V m_ix(I i) { ix = i; } @@ -59,6 +60,8 @@ protected: private: FLEXT_CALLBACK_I(m_ix); + FLEXT_CALLSET_I(m_ix); + FLEXT_ATTRGET_I(ix); }; FLEXT_LIB_V("vasp, vasp.channel vasp.c",vasp_channel) |