Validate args before creating the DBus proxy, just for complete safety.
[mmediamanager.git] / src / mm-types.h
blobcf4c611bc00a856c71c713590dd4edc86e3e5167
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 typedef enum {
25 MM_APPLICATION_NONE,
26 MM_APPLICATION_PHOTO,
27 MM_APPLICATION_MUSIC,
28 MM_APPLICATION_VIDEO
29 } MMApplicationType;
31 typedef enum {
32 MM_COMP_NONE,
33 MM_COMP_EQUAL,
34 MM_COMP_GREATER,
35 MM_COMP_LESS,
36 MM_COMP_GREATER_EQUAL,
37 MM_COMP_LESS_EQUAL
38 } MMComparisionOperator;
40 /* FIXME: logical operators not implemented yet
41 typedef enum {
42 MM_LOGIC_NONE,
43 MM_LOGIC_OR,
44 MM_LOGIC_AND
45 } MMLogicOperator;
48 #endif /* __MM_TYPES_H__ */