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.cpp |
|
25 * Part of : gstplayer |
|
26 * Interface : |
|
27 * Description : |
|
28 * Version : |
|
29 * |
|
30 |
|
31 * ============================================================================== |
|
32 */ |
|
33 |
|
34 // INCLUDE FILES |
|
35 #include "gstplayerdocument.h" |
|
36 #include "gstplayerapplication.h" |
|
37 |
|
38 // ============================ MEMBER FUNCTIONS =============================== |
|
39 |
|
40 // UID for the application; |
|
41 // this should correspond to the uid defined in the mmp file |
|
42 const TUid KUidGSTPlayerApp = { 0xA000017F }; |
|
43 |
|
44 // ----------------------------------------------------------------------------- |
|
45 // CGSTPlayerApplication::CreateDocumentL() |
|
46 // Creates CApaDocument object |
|
47 // ----------------------------------------------------------------------------- |
|
48 // |
|
49 CApaDocument* CGSTPlayerApplication::CreateDocumentL() |
|
50 { |
|
51 // Create an GSTPlayer document, and return a pointer to it |
|
52 return (static_cast<CApaDocument*> |
|
53 ( CGSTPlayerDocument::NewL( *this ) ) ); |
|
54 } |
|
55 |
|
56 // ----------------------------------------------------------------------------- |
|
57 // CGSTPlayerApplication::AppDllUid() |
|
58 // Returns application UID |
|
59 // ----------------------------------------------------------------------------- |
|
60 // |
|
61 TUid CGSTPlayerApplication::AppDllUid() const |
|
62 { |
|
63 // Return the UID for the GSTPlayer application |
|
64 return KUidGSTPlayerApp; |
|
65 } |
|
66 |
|
67 // End of File |
|
68 |
|