diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2009-01-10 19:00:07 -0500 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2009-01-10 19:00:07 -0500 |
| commit | b32ca560259df262e4d37a26333e281f8fa68730 (patch) | |
| tree | 66ac6132bb2ed06939e3d94efaa5e96c0a9a0dde /sigscript/TimeWrapper.h | |
| parent | 9834ea2f8f8ea736c53d9686393f50ccc72a982b (diff) | |
| download | sigen-b32ca560259df262e4d37a26333e281f8fa68730.tar.gz sigen-b32ca560259df262e4d37a26333e281f8fa68730.tar.xz sigen-b32ca560259df262e4d37a26333e281f8fa68730.zip | |
Added a script variable to Time
Diffstat (limited to 'sigscript/TimeWrapper.h')
| -rw-r--r-- | sigscript/TimeWrapper.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sigscript/TimeWrapper.h b/sigscript/TimeWrapper.h index 33a159a5..564b68e9 100644 --- a/sigscript/TimeWrapper.h +++ b/sigscript/TimeWrapper.h @@ -1,5 +1,5 @@ /* - * Copyright 2008 Ben Boeckel <MathStuf@gmail.com> + * Copyright 2008-2009 Ben Boeckel <MathStuf@gmail.com> * * 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 @@ -36,6 +36,7 @@ class SIGSCRIPT_EXPORT TimeWrapper : public ObjectWrapper Q_SCRIPTABLE QString name() const; Q_SCRIPTABLE int hour() const; Q_SCRIPTABLE int minute() const; + Q_SCRIPTABLE Sigcore::Script script() const; private: TimeWrapper(const Sigmod::Time* time, SigmodWrapper* parent); TimeWrapper& operator=(const TimeWrapper& rhs); |
