equal
deleted
inserted
replaced
|
1 // Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // Template for writing Anim DLL's |
|
15 // |
|
16 // |
|
17 |
|
18 #if !defined(__MINANIM_H__) |
|
19 #define __MINANIM_H__ |
|
20 |
|
21 #if !defined(__E32STD_H__) |
|
22 #include <e32std.h> |
|
23 #endif |
|
24 #if !defined(__E32BASE_H__) |
|
25 #include <e32base.h> |
|
26 #endif |
|
27 /*#if !defined(__FBS_H__) |
|
28 #include <fbs.h> |
|
29 #endif*/ |
|
30 #if !defined(__W32ADLL_H__) |
|
31 #include <w32adll.h> |
|
32 #endif |
|
33 |
|
34 |
|
35 class CMinAnimDll : public CAnimDll |
|
36 { |
|
37 public: |
|
38 CAnim *CreateInstanceL(TInt aType); |
|
39 }; |
|
40 |
|
41 class CMinWindowAnim : public CWindowAnim |
|
42 { |
|
43 public: |
|
44 ~CMinMbm(); |
|
45 //pure virtual functions from MEventHandler |
|
46 TBool OfferRawEvent(const TRawEvent &aRawEvent); |
|
47 //pure virtual functions from CAnim |
|
48 void ConstructL(TAny *aArgs, TBool aHasFocus); |
|
49 void Animate(TDateTime *aDateTime); |
|
50 void Redraw(); |
|
51 void Command(TInt aOpcode, TAny *aArgs); |
|
52 TInt CommandReplyL(TInt aOpcode, TAny *aArgs); |
|
53 void FocusChanged(TBool aState); |
|
54 }; |
|
55 |
|
56 #endif |