* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#ifndef PULSEVIEW_PV_DIALOGS_INPUTOUTPUTOPTIONS_HPP
#include <pv/binding/inputoutput.hpp>
+using std::map;
+using std::shared_ptr;
+using std::string;
+
namespace pv {
namespace dialogs {
* @param title the title of the dialog.
* @param options the map of options to use as a template.
* @param parent the parent widget of the dialog.
- */
+ */
InputOutputOptions(const QString &title,
- const std::map<std::string, std::shared_ptr<sigrok::Option>>
- &options,
+ const map<string, shared_ptr<sigrok::Option>> &options,
QWidget *parent);
/**
* Gets the map of selected options.
* @return the options.
*/
- const std::map<std::string, Glib::VariantBase>& options() const;
+ const map<string, Glib::VariantBase>& options() const;
protected:
void accept();