xref: /haiku/src/apps/icon-o-matic/Util.h (revision b028e77473189065f2baefc6f5e10d451cf591e2)
1 /*
2  * Copyright 2006-2007, Haiku. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  *
5  * Authors:
6  *		Stephan Aßmus <superstippi@gmx.de>
7  */
8 #ifndef UTIL_H
9 #define UTIL_H
10 
11 
12 #include <GraphicsDefs.h>
13 
14 
15 class AddPathsCommand;
16 class AddStylesCommand;
17 
18 namespace BPrivate {
19 namespace Icon {
20 	class PathContainer;
21 	class Style;
22 	class StyleContainer;
23 	class VectorPath;
24 }
25 }
26 using namespace BPrivate::Icon;
27 
28 
29 void new_style(rgb_color color, StyleContainer* container,
30 			   Style** style, AddStylesCommand** command);
31 
32 void new_path(PathContainer* container, VectorPath** path,
33 			  AddPathsCommand** command, VectorPath* other = NULL);
34 
35 #endif	// UTIL_H
36