It seems that the only things left to document are FoobarDetails
[mmediamanager.git] / libmmanager / mm-types.h
blobd04d35b0b9bc1811e3775bd0a3aed0e6088e7274
1 /* MManager - a Desktop wide manager for multimedia applications.
3 * Copyright (C) 2008 Cosimo Cecchi <cosimoc@gnome.org>
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the
17 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 * Boston, MA 02111-1307, USA.
21 #ifndef __MM_TYPES_H__
22 #define __MM_TYPES_H__
24 /**
25 * SECTION:mm-types
26 * @short_description: enum types.
28 * Enumeration types used across the library when needed.
31 /**
32 * MMApplicationType:
33 * @MM_APPLICATION_NONE: initializer.
34 * @MM_APPLICATION_PHOTO: application supports photo management.
35 * @MM_APPLICATION_MUSIC: application supports music management.
36 * @MM_APPLICATION_VIDEO: application supports video management.
38 * Media types that applications can support.
41 typedef enum {
42 MM_APPLICATION_NONE,
43 MM_APPLICATION_PHOTO,
44 MM_APPLICATION_MUSIC,
45 MM_APPLICATION_VIDEO
46 } MMApplicationType;
48 /**
49 * MMComparisionOperator:
50 * @MM_COMP_NONE: initializer.
51 * @MM_COMP_EQUAL: equal to.
52 * @MM_COMP_GREATER: greater than.
53 * @MM_COMP_LESS: less than.
54 * @MM_COMP_GREATER_EQUAL: greater or equal than.
55 * @MM_COMP_LESS_EQUAL: less or equal than.
57 * Comparision operators.
60 typedef enum {
61 MM_COMP_NONE,
62 MM_COMP_EQUAL,
63 MM_COMP_GREATER,
64 MM_COMP_LESS,
65 MM_COMP_GREATER_EQUAL,
66 MM_COMP_LESS_EQUAL
67 } MMComparisionOperator;
69 #endif /* __MM_TYPES_H__ */