]> Shamusworld >> Repos - architektonas/blob - src/base/rs_script.cpp
Changed RS_Graphic to Drawing; this is less confusing as a drawing is
[architektonas] / src / base / rs_script.cpp
1 // rs_script.cpp
2 //
3 // Part of the Architektonas Project
4 // Originally part of QCad Community Edition by Andrew Mustun
5 // Extensively rewritten and refactored by James L. Hammons
6 // (C) 2010 Underground Software
7 //
8 // JLH = James L. Hammons <jlhamm@acm.org>
9 //
10 // Who  When        What
11 // ---  ----------  -----------------------------------------------------------
12 // JLH  06/02/2010  Added this text. :-)
13 //
14
15 #include "rs_script.h"
16
17 /**
18  * Constructor.
19  */
20 RS_Script::RS_Script(const QString & name, const QString & /*path*/)
21 {
22         this->name = name;
23 }
24
25 /** @return the name of this script. */
26 QString RS_Script::getName() const
27 {
28         return name;
29 }
30
31 /** @return the full path and file name of this script. */
32 QString RS_Script::getPath() const
33 {
34         return path;
35 }