provide Command base class in command.h for deriving command styles from

This commit is contained in:
Axel Kohlmeyer
2021-04-13 17:47:00 -04:00
parent f07fa3d266
commit b53822da46
74 changed files with 203 additions and 180 deletions

View File

@ -2,16 +2,16 @@
#include "lammpsplugin.h"
#include "comm.h"
#include "command.h"
#include "error.h"
#include "pointers.h"
#include "version.h"
#include <cstring>
namespace LAMMPS_NS {
class Hello : protected Pointers {
class Hello : protected Command {
public:
Hello(class LAMMPS *lmp) : Pointers(lmp) {};
Hello(class LAMMPS *lmp) : Command(lmp) {};
void command(int, char **);
};
}