sysresmonitoring/oommonitor/tsrc/oomtest/t_oomtestapp/inc/t_oomtestappdocument.h
branchRCL_3
changeset 1 0fdb7f6b0309
child 9 332e7bf3b42f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sysresmonitoring/oommonitor/tsrc/oomtest/t_oomtestapp/inc/t_oomtestappdocument.h	Fri Feb 19 22:58:54 2010 +0200
@@ -0,0 +1,91 @@
+/*
+ ============================================================================
+ Name		: t_oomtestappDocument.h
+ Author	  : 
+ Copyright   : Your copyright notice
+ Description : Declares document class for application.
+ ============================================================================
+ */
+
+#ifndef __T_OOMTESTAPPDOCUMENT_h__
+#define __T_OOMTESTAPPDOCUMENT_h__
+
+// INCLUDES
+#include <akndoc.h>
+
+// FORWARD DECLARATIONS
+class Ct_oomtestappAppUi;
+class CEikApplication;
+
+// CLASS DECLARATION
+
+/**
+ * Ct_oomtestappDocument application class.
+ * An instance of class Ct_oomtestappDocument is the Document part of the
+ * AVKON application framework for the t_oomtestapp example application.
+ */
+class Ct_oomtestappDocument : public CAknDocument
+	{
+public:
+	// Constructors and destructor
+
+	/**
+	 * NewL.
+	 * Two-phased constructor.
+	 * Construct a Ct_oomtestappDocument for the AVKON application aApp
+	 * using two phase construction, and return a pointer
+	 * to the created object.
+	 * @param aApp Application creating this document.
+	 * @return A pointer to the created instance of Ct_oomtestappDocument.
+	 */
+	static Ct_oomtestappDocument* NewL(CEikApplication& aApp);
+
+	/**
+	 * NewLC.
+	 * Two-phased constructor.
+	 * Construct a Ct_oomtestappDocument for the AVKON application aApp
+	 * using two phase construction, and return a pointer
+	 * to the created object.
+	 * @param aApp Application creating this document.
+	 * @return A pointer to the created instance of Ct_oomtestappDocument.
+	 */
+	static Ct_oomtestappDocument* NewLC(CEikApplication& aApp);
+
+	/**
+	 * ~Ct_oomtestappDocument
+	 * Virtual Destructor.
+	 */
+	virtual ~Ct_oomtestappDocument();
+
+public:
+	// Functions from base classes
+
+	/**
+	 * CreateAppUiL
+	 * From CEikDocument, CreateAppUiL.
+	 * Create a Ct_oomtestappAppUi object and return a pointer to it.
+	 * The object returned is owned by the Uikon framework.
+	 * @return Pointer to created instance of AppUi.
+	 */
+	CEikAppUi* CreateAppUiL();
+
+private:
+	// Constructors
+
+	/**
+	 * ConstructL
+	 * 2nd phase constructor.
+	 */
+	void ConstructL();
+
+	/**
+	 * Ct_oomtestappDocument.
+	 * C++ default constructor.
+	 * @param aApp Application creating this document.
+	 */
+	Ct_oomtestappDocument(CEikApplication& aApp);
+
+	};
+
+#endif // __T_OOMTESTAPPDOCUMENT_h__
+// End of File