xref: /haiku/src/apps/haikudepot/packagemanagement/PackageAction.cpp (revision a18f873f8b884375ea8278f3c9df0e433b822262)
1 /*
2  * Copyright 2021, Andrew Lindesay <apl@lindesay.co.nz>.
3  * All rights reserved. Distributed under the terms of the MIT License.
4  */
5 
6 
7 #include "PackageAction.h"
8 
9 
PackageAction(const BString & title,const BMessage & message)10 PackageAction::PackageAction(const BString& title, const BMessage& message)
11 	:
12 	fTitle(title),
13 	fMessage(message)
14 {
15 }
16 
17 
~PackageAction()18 PackageAction::~PackageAction()
19 {
20 }
21 
22 
23 const BString&
Title() const24 PackageAction::Title() const
25 {
26 	return fTitle;
27 }
28 
29 
30 const BMessage&
Message() const31 PackageAction::Message() const
32 {
33 	return fMessage;
34 }
35