|
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. |
|
3 * |
|
4 * This library is free software; you can redistribute it and/or |
|
5 * modify it under the terms of the GNU Lesser General Public |
|
6 * License as published by the Free Software Foundation; either |
|
7 * version 2 of the License, or (at your option) any later version. |
|
8 * |
|
9 * This library is distributed in the hope that it will be useful, |
|
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
12 * Lesser General Public License for more details. |
|
13 * |
|
14 * You should have received a copy of the GNU Lesser General Public |
|
15 * License along with this library; if not, write to the |
|
16 * Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
|
17 * Boston, MA 02111-1307, USA. |
|
18 * |
|
19 * Description: |
|
20 * |
|
21 */ |
|
22 /* |
|
23 * ============================================================================== |
|
24 * Name : gstplayerapplication.h |
|
25 * Part of : gstplayer |
|
26 * Interface : |
|
27 * Description : |
|
28 * Version : |
|
29 * |
|
30 |
|
31 * ============================================================================== |
|
32 */ |
|
33 |
|
34 #ifndef __GSTPLAYERAPPLICATION_H__ |
|
35 #define __GSTPLAYERAPPLICATION_H__ |
|
36 |
|
37 // INCLUDES |
|
38 #include <aknapp.h> |
|
39 |
|
40 // CLASS DECLARATION |
|
41 |
|
42 /** |
|
43 * CGSTPlayerApplication application class. |
|
44 * Provides factory to create concrete document object. |
|
45 * An instance of CGSTPlayerApplication is the application part of the |
|
46 * AVKON application framework for the GSTPlayer example application. |
|
47 */ |
|
48 class CGSTPlayerApplication : public CAknApplication |
|
49 { |
|
50 public: // Functions from base classes |
|
51 |
|
52 /** |
|
53 * From CApaApplication, AppDllUid. |
|
54 * @return Application's UID (KUidGSTPlayerApp). |
|
55 */ |
|
56 TUid AppDllUid() const; |
|
57 |
|
58 protected: // Functions from base classes |
|
59 |
|
60 /** |
|
61 * From CApaApplication, CreateDocumentL. |
|
62 * Creates CGSTPlayerDocument document object. The returned |
|
63 * pointer in not owned by the CGSTPlayerApplication object. |
|
64 * @return A pointer to the created document object. |
|
65 */ |
|
66 CApaDocument* CreateDocumentL(); |
|
67 }; |
|
68 |
|
69 #endif // __gstplayerAPPLICATION_H__ |
|
70 |
|
71 // End of File |
|
72 |