Tiny NPE fix
[zxing.git] / symbian / ZXingBarcodeReader / inc / ZXingBarcodeReaderDocument.h
1 /*\r
2  * Copyright (c) 2009 Nokia Corporation.\r
3  */\r
4 \r
5 #ifndef __CAMERAWRAPPEREXAMPLEDOCUMENT_h__\r
6 #define __CAMERAWRAPPEREXAMPLEDOCUMENT_h__\r
7 \r
8 // INCLUDES\r
9 #include <akndoc.h>\r
10 \r
11 // FORWARD DECLARATIONS\r
12 class CZXingBarcodeReaderAppUi;\r
13 class CEikApplication;\r
14 \r
15 // CLASS DECLARATION\r
16 class CZXingBarcodeReaderDocument : public CAknDocument\r
17     {\r
18     public:\r
19         // Constructors and destructor\r
20         static CZXingBarcodeReaderDocument* NewL (CEikApplication& aApp );\r
21         static CZXingBarcodeReaderDocument* NewLC (CEikApplication& aApp );\r
22         virtual ~CZXingBarcodeReaderDocument ();\r
23     \r
24     public:\r
25         // Functions from base classes\r
26         CEikAppUi* CreateAppUiL ();\r
27     \r
28     private:\r
29         // Constructors\r
30         void ConstructL ();\r
31         CZXingBarcodeReaderDocument (CEikApplication& aApp );\r
32 \r
33     private:\r
34         // Data \r
35     \r
36     };\r
37 \r
38 #endif // __CAMERAWRAPPEREXAMPLEDOCUMENT_h__\r
39 \r
40 // End of File\r