startupservices/Startup/inc/StartupDocument.h
changeset 0 2e3d3ce01487
child 29 6a787171e1de
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/startupservices/Startup/inc/StartupDocument.h	Tue Feb 02 10:12:00 2010 +0200
@@ -0,0 +1,80 @@
+/*
+* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). 
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:  Document class of the module.
+*
+*/
+
+
+
+#ifndef STARTUPDOCUMENT_H
+#define STARTUPDOCUMENT_H
+
+// INCLUDES
+#include <AknDoc.h>
+
+// FORWARD DECLARATIONS
+class   CEikAppUi;
+
+// CLASS DECLARATION
+
+/**
+*  CStartupDocument application class.
+*/
+class CStartupDocument : public CAknDocument
+{
+    public:
+
+        /**
+        *   C++ default constructor.
+        */
+        CStartupDocument(CEikApplication& aApp): CAknDocument(aApp) { }
+
+        /**
+        *   Two-phased constructor.
+        */
+        static CStartupDocument* NewL(CEikApplication& aApp);
+
+        /**
+        *   Destructor.
+        */
+        virtual ~CStartupDocument();
+
+    private:
+        /**
+        *   EPOC default constructor.
+        */
+        void ConstructL();
+
+        /**
+        * This method makes an application hidden so that it is not visible
+        * for example in Applications list and FastSwap window.
+        * @param CApaWindowGroupName* aWgName
+        * @return void        
+        */
+        void UpdateTaskNameL( CApaWindowGroupName* aWgName );
+
+    private:// from CEikDocument
+
+        /**
+        * Create CStartupAppUi object.
+        */
+        CEikAppUi* CreateAppUiL();
+        
+    private:// data
+
+};
+
+#endif
+
+//End of file