1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef XAIMAGEEFFECTSITF_H |
|
19 #define XAIMAGEEFFECTSITF_H |
|
20 |
|
21 #include "xaadptbasectx.h" |
|
22 |
|
23 /** MACROS **/ |
|
24 #define NO_IMAGE_EFFECTS 0 |
|
25 |
|
26 /** TYPES **/ |
|
27 |
|
28 /** ENUMERATIONS **/ |
|
29 |
|
30 /** STRUCTURES **/ |
|
31 /* Definition of XAImageEffectsItf implementation */ |
|
32 typedef struct XAImageEffectsItfImpl_ |
|
33 { |
|
34 /* parent interface */ |
|
35 struct XAImageEffectsItf_ itf; |
|
36 /* pointer to self */ |
|
37 struct XAImageEffectsItfImpl_* self; |
|
38 |
|
39 /* variables */ |
|
40 XAuint32 index; |
|
41 XAboolean enabled; |
|
42 XAuint32 imageEffectID; |
|
43 |
|
44 /*Adaptation variables*/ |
|
45 XAAdaptationBaseCtx *adapCtx; |
|
46 |
|
47 |
|
48 } XAImageEffectsItfImpl; |
|
49 |
|
50 /** METHODS **/ |
|
51 |
|
52 /* Base interface XAImageEffectsItf implementation */ |
|
53 XAresult XAImageEffectsItfImpl_QuerySupportedImageEffects(XAImageEffectsItf self, |
|
54 XAuint32 index, |
|
55 XAuint32 *pImageEffectId); |
|
56 |
|
57 XAresult XAImageEffectsItfImpl_EnableImageEffect(XAImageEffectsItf self, |
|
58 XAuint32 imageEffectID); |
|
59 |
|
60 XAresult XAImageEffectsItfImpl_DisableImageEffect(XAImageEffectsItf self, |
|
61 XAuint32 imageEffectID); |
|
62 |
|
63 XAresult XAImageEffectsItfImpl_IsImageEffectEnabled(XAImageEffectsItf self, |
|
64 XAuint32 imageEffectID, |
|
65 XAboolean *pEnabled); |
|
66 |
|
67 |
|
68 /* XAImageEffectsItfImpl -specific methods */ |
|
69 XAImageEffectsItfImpl* XAImageEffectsItfImpl_Create(XAAdaptationBaseCtx *adapCtx); |
|
70 void XAImageEffectsItfImpl_Free(XAImageEffectsItfImpl* self); |
|
71 #endif /* XAIMAGEEFFECTSITF_H */ |
|