19
|
1 |
/*
|
|
2 |
* Copyright (c) 2010 Kanrikogaku Kenkyusho, Ltd.
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of the License "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 |
* Kanrikogaku Kenkyusho, Ltd. - Initial contribution
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description:
|
|
15 |
* {Description of the file}
|
|
16 |
*
|
|
17 |
*/
|
|
18 |
|
|
19 |
// Protection against nested includes
|
|
20 |
#ifndef __DIRECTPRINTAPPAPPLICATION_H__
|
|
21 |
#define __DIRECTPRINTAPPAPPLICATION_H__
|
|
22 |
|
|
23 |
// System includes
|
|
24 |
#include <aknapp.h>
|
|
25 |
|
|
26 |
// User includes
|
|
27 |
#include "DirectPrintApp.hrh"
|
|
28 |
|
|
29 |
// UID for the application;
|
|
30 |
// this should correspond to the uid defined in the mmp file
|
|
31 |
const TUid KUidDirectPrintAppApp =
|
|
32 |
{
|
|
33 |
_UID3
|
|
34 |
};
|
|
35 |
|
|
36 |
// CLASS DECLARATION
|
|
37 |
|
|
38 |
/**
|
|
39 |
* CDirectPrintAppApplication application class.
|
|
40 |
* Provides factory to create concrete document object.
|
|
41 |
* An instance of CDirectPrintAppApplication is the application part of the
|
|
42 |
* AVKON application framework for the DirectPrintApp example application.
|
|
43 |
*/
|
|
44 |
class CDirectPrintAppApplication : public CAknApplication
|
|
45 |
{
|
|
46 |
public:
|
|
47 |
// Functions from base classes
|
|
48 |
|
|
49 |
/**
|
|
50 |
* From CApaApplication, AppDllUid.
|
|
51 |
* @return Application's UID (KUidDirectPrintAppApp).
|
|
52 |
*/
|
|
53 |
TUid AppDllUid() const;
|
|
54 |
|
|
55 |
protected:
|
|
56 |
// Functions from base classes
|
|
57 |
|
|
58 |
/**
|
|
59 |
* From CApaApplication, CreateDocumentL.
|
|
60 |
* Creates CDirectPrintAppDocument document object. The returned
|
|
61 |
* pointer in not owned by the CDirectPrintAppApplication object.
|
|
62 |
* @return A pointer to the created document object.
|
|
63 |
*/
|
|
64 |
CApaDocument* CreateDocumentL();
|
|
65 |
};
|
|
66 |
|
|
67 |
#endif // __DIRECTPRINTAPPAPPLICATION_H__
|
|
68 |
// End of File
|