xref: /haiku/src/apps/haikudepot/packagemanagement/PackageAction.cpp (revision 6a2d53e7237764eab0c7b6d121772f26d636fb60)
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 
10 PackageAction::PackageAction(const BString& title, const BMessage& message)
11 	:
12 	fTitle(title),
13 	fMessage(message)
14 {
15 }
16 
17 
18 PackageAction::~PackageAction()
19 {
20 }
21 
22 
23 const BString&
24 PackageAction::Title() const
25 {
26 	return fTitle;
27 }
28 
29 
30 const BMessage&
31 PackageAction::Message() const
32 {
33 	return fMessage;
34 }
35