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