sdk-world v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
Loading...
Searching...
No Matches
svprop.h
Go to the documentation of this file.
1/****************************************************************************
2 *
3 * svprop.h
4 *
5 * The FreeType property service (specification).
6 *
7 * Copyright (C) 2012-2025 by
8 * David Turner, Robert Wilhelm, and Werner Lemberg.
9 *
10 * This file is part of the FreeType project, and may only be used,
11 * modified, and distributed under the terms of the FreeType project
12 * license, LICENSE.TXT. By continuing to use, modify, or distribute
13 * this file you indicate that you have read the license and
14 * understand and accept it fully.
15 *
16 */
17
18
23#ifndef SVPROP_H_
24#define SVPROP_H_
25
26
27FT_BEGIN_HEADER
28
29
30#define FT_SERVICE_ID_PROPERTIES "properties"
31
32
33 typedef FT_Error
34 (*FT_Properties_SetFunc)( FT_Module module,
35 const char* property_name,
36 const void* value,
37 FT_Bool value_is_string );
38
39 typedef FT_Error
40 (*FT_Properties_GetFunc)( FT_Module module,
41 const char* property_name,
42 void* value );
43
44
45 FT_DEFINE_SERVICE( Properties )
46 {
47 FT_Properties_SetFunc set_property;
48 FT_Properties_GetFunc get_property;
49 };
50
51
52#define FT_DEFINE_SERVICE_PROPERTIESREC( class_, \
53 set_property_, \
54 get_property_ ) \
55 static const FT_Service_PropertiesRec class_ = \
56 { \
57 set_property_, \
58 get_property_ \
59 };
60
61 /* */
62
63
64FT_END_HEADER
65
66
67#endif /* SVPROP_H_ */
68
69
70/* END */