edelib 2.1.0
IconChooser.h
1/*
2 * $Id: IconChooser.h 3475 2012-12-26 01:52:24Z karijes $
3 *
4 * Icon chooser
5 * Copyright (c) 2005-2007 edelib authors
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public License
18 * along with this library. If not, see <http://www.gnu.org/licenses/>.
19 */
20
21#ifndef __EDELIB_ICONCHOOSER_H__
22#define __EDELIB_ICONCHOOSER_H__
23
24#include "String.h"
25#include "IconTheme.h"
26
27EDELIB_NS_BEGIN
28
44EDELIB_API String icon_chooser(const char *dir);
45
62EDELIB_API String icon_chooser(IconSizes sz, IconContext ctx = ICON_CONTEXT_ANY, bool always_full_path = false, bool *outside_theme_ret = NULL);
63
64EDELIB_NS_END
65#endif
A (relatively simple) string implementation.
Definition: String.h:82
String icon_chooser(IconSizes sz, IconContext ctx=ICON_CONTEXT_ANY, bool always_full_path=false, bool *outside_theme_ret=((void *) 0))
IconContext
Icon types to look for.
Definition: IconTheme.h:46
IconSizes
Icon sizes to look for.
Definition: IconTheme.h:33