summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/Message.h3
-rw-r--r--lib/Message.cc6
2 files changed, 7 insertions, 2 deletions
diff --git a/include/Message.h b/include/Message.h
index 690ec06..6f3234d 100644
--- a/include/Message.h
+++ b/include/Message.h
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: Message.h,v 1.12 2007-05-30 11:57:08 pixel Exp $ */
+/* $Id: Message.h,v 1.13 2007-09-23 12:20:15 pixel Exp $ */
#ifndef __MESSAGE_H__
#define __MESSAGE_H__
@@ -32,6 +32,7 @@ class Message : public Action {
virtual ~Message() { }
virtual String GetTitle();
virtual Task * Do(Variables *, Variables *, Handle *);
+ void SetMsg(const String &);
private:
String tit, msg;
diff --git a/lib/Message.cc b/lib/Message.cc
index 893f48f..45bca3d 100644
--- a/lib/Message.cc
+++ b/lib/Message.cc
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: Message.cc,v 1.7 2007-05-30 11:57:10 pixel Exp $ */
+/* $Id: Message.cc,v 1.8 2007-09-23 12:20:15 pixel Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -49,3 +49,7 @@ Task * Message::Do(Variables * v, Variables *, Handle * h) {
String Message::GetTitle(void) {
return tit;
}
+
+void Message::SetMsg(const String & _msg) {
+ msg = _msg;
+}