xref: /haiku/src/bin/pkgman/DecisionProvider.h (revision 7a74a5df454197933bc6e80a542102362ee98703)
1 /*
2  * Copyright 2011, Oliver Tappe <zooey@hirschkaefer.de>
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef DECISION_PROVIDER_H
6 #define DECISION_PROVIDER_H
7 
8 
9 #include <package/Context.h>
10 
11 
12 struct DecisionProvider : public BPackageKit::BDecisionProvider {
13 	virtual bool YesNoDecisionNeeded(const BString& description,
14 		const BString& question, const BString& yes, const BString& no,
15 		const BString& defaultChoice);
16 };
17 
18 
19 #endif	// DECISION_PROVIDER_H
20