add the 2.1-bootstrap dir to MONO_PATH when running smcs
[moon.git] / src / fontfamily.h
blobfc3c1fc01739bf28c09a152684d2392a39a2f42f
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3 * fontfamily.h:
5 * Contact:
6 * Moonlight List (moonlight-list@lists.ximian.com)
8 * Copyright 2007 Novell, Inc. (http://www.novell.com)
10 * See the LICENSE file included with the distribution for details.
13 #ifndef __FONT_FAMILY_H__
14 #define __FONT_FAMILY_H__
16 #include <glib.h>
17 #include <string.h>
19 /* @IncludeInKinds */
20 struct FontFamily {
21 char *source;
23 FontFamily (const char *source)
25 this->source = g_strdup (source);
28 ~FontFamily ()
30 g_free (source);
33 bool operator== (const FontFamily &v) const
35 return strcmp (v.source, source) == 0;
38 bool operator!= (const FontFamily &v) const
40 return strcmp (v.source, source) != 0;
44 #endif /* __FONT_FAMILY_H__ */