diff options
Diffstat (limited to 'src/helper/stock-items.h')
-rw-r--r-- | src/helper/stock-items.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/helper/stock-items.h b/src/helper/stock-items.h new file mode 100644 index 0000000..1ffdb19 --- /dev/null +++ b/src/helper/stock-items.h @@ -0,0 +1,26 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/** @file + * TODO: insert short description here + *//* + * Authors: + * see git history + * John Cliff <simarilius@yahoo.com> + * + * Copyright (C) 2012 Authors + * Released under GNU GPL v2+, read the file 'COPYING' for more information. + */ +#ifndef SEEN_INK_STOCK_ITEMS_H +#define SEEN_INK_STOCK_ITEMS_H + +#include <glib.h> +#include <vector> +#include <memory> + +class SPObject; +class SPDocument; + +SPObject *get_stock_item(gchar const *urn, bool stock = false, SPDocument* stock_doc = nullptr); + +std::vector<std::shared_ptr<SPDocument>> sp_get_paint_documents(const std::function<bool (SPDocument*)>& filter); + +#endif // SEEN_INK_STOCK_ITEMS_H |