mmsharing/mmshmanagersrv/inc/musapplicationmanager.h
changeset 15 ccd8e69b5392
parent 2 b31261fd4e04
child 20 e8be2c2e049d
child 22 496ad160a278
--- a/mmsharing/mmshmanagersrv/inc/musapplicationmanager.h	Tue Feb 02 00:09:07 2010 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,157 +0,0 @@
-/*
-* Copyright (c) 2009 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:  ?Description
-*
-*/
-
-
-#ifndef MUSAPPLICATIONMANAGER_H
-#define MUSAPPLICATIONMANAGER_H
-
-#include "musmanagercommon.h"
-#include "musunittesting.h"
-
-#include <apgcli.h>
-#include <apgtask.h>
-#include <e32base.h>
-#include <w32std.h>
-
-//class TApaTask;
-
-/**
- *  Multimedia Sharing application handler
- *
- *  Handles application launch and close functionality. Also
- *  but application to foreground if all ready running.
- *
- *  @lib none
- */
-class CMusApplicationManager : public CBase
-    {
-    MUS_UNITTEST( UT_CMusApplicationManager )
-		
-	public: // first phase constructors & destructor
-	
-		/**
-		*
-		*/
-	    static CMusApplicationManager* NewL();
-	
-		/**
-		*
-		*/
-	    static CMusApplicationManager* NewLC();
-	
-		/**
-		*
-		*/
-	    ~CMusApplicationManager();
-	
-
-    protected: // second phase constructors
-	
-		/**
-		*
-		*/
-	    void ConstructL();
-	
-		/**
-		*
-		*/
-	    CMusApplicationManager();
-	
-
-	public: // new public functions
-	
-		/**
-		* @return TBool ETrue if application is runing ( MultimediaSharing )
-		*/
-	    TBool ApplicationRunning();
-	
-		/**
-		*
-		*/
-	    void StartApplicationL();
-	
-		/**
-		*
-		*/
-	    void StopApplicationL();
-	
-		/**
-		* Brings application to foreground if running all reaydy.
-		*/
-	    void ShowApplicationL();
-
-		/**
-		* Writes given array and other parameter spefic date to Publish & 
-		* Subscripe database.
-		*/
-	    void WriteSessionPropertiesL( 
-	    								MultimediaSharing::TMusUseCase aUseCase,
-	                    MultimediaSharing::TMusAvailabilityStatus aStatus,
-	                    MDesCArray& aSessionParameters );
-	
-		/**
-		* Overrided version whitout use case.
-		*
-		*/
-	    void WriteSessionPropertiesL( 
-	    								MultimediaSharing::TMusAvailabilityStatus aStatus,
-	                    MDesCArray& aSessionParameters );
-	
-		/**
-		*
-		*/
-	    void SetStatusL( MultimediaSharing::TMusAvailabilityStatus aStatus );
-	    
-	    /**
-		*
-		*/
-	    void SetIndicatorStatusL( TBool aLaunch );
-	
-
-	private: // helper functions
-	
-		/**
-		*
-		*/
-	    void SetPropertyL( TUint aProperty, const TDesC& aValue );
-	
-		/**
-		*
-		*/
-	    void SetPropertyL( TUint aProperty, TInt aValue );
-	    
-	    /**
-	    *
-	    */
-	    TApaTask GetApaTask();
-	
-
-	private: // owned data
-	
-		/**
-		* Window server session handle
-		*/
-	    RWsSession iWsSession;
-	
-		/**
-		*
-		*/
-	    RApaLsSession iApaSession;
-    };
-
-
-#endif // ? MUSAPPLICATIONMANAGER_H