xref: /haiku/src/bin/pkgman/DecisionProvider.h (revision 4466b89c65970de4c7236ac87faa2bee4589f413)
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