1/*
2 * Copyright 2021, Andrew Lindesay <apl@lindesay.co.nz>.
3 * All rights reserved. Distributed under the terms of the MIT License.
4 */
5#ifndef PACKAGE_ACTION_H
6#define PACKAGE_ACTION_H
7
8
9#include <Message.h>
10#include <Referenceable.h>
11#include <String.h>
12
13
14class PackageAction : public BReferenceable {
15public:
16								PackageAction(const BString& title,
17									const BMessage& message);
18	virtual						~PackageAction();
19
20	const	BString&			Title() const;
21	const	BMessage&			Message() const;
22
23private:
24			BString				fTitle;
25			BMessage			fMessage;
26};
27
28
29typedef BReference<PackageAction> PackageActionRef;
30
31
32#endif // PACKAGE_ACTION_H
33