diff -r ccd8e69b5392 -r 496ad160a278 tsrc/CenrepEditor/inc/cenrepeditormodel.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tsrc/CenrepEditor/inc/cenrepeditormodel.h Fri Jun 11 13:36:18 2010 +0300 @@ -0,0 +1,131 @@ +/* +* Copyright (c) 2002-2005 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: Declares document for application. +* +*/ + +#ifndef CPHONERESOURCE_H +#define CPHONERESOURCE_H + +// INCLUDES +#include +#include +#include +#include +#include "musmanagercommon.h" +#include "musmanager.h" + +// CONSTANTS +const TInt KMaxUidStringLength = 8; + +// FORWARD DECLARATIONS +class CPhoneResources; +class COtherResources; +// CLASS DECLARATION + +class COtherResources : public CBase + { + public: + static COtherResources* NewL(); + static COtherResources* NewLC(); + ~COtherResources(); + + public: + + void SaveL(); + + public: + + TInt iActivation; + TInt iOperatorVariant; + TInt iAuditoryNotification; + TInt iPopupNotification; + TInt iPopupNotificationType; + TInt iEdgeDtmSupport; + TInt iSessionSetupMethod; + TInt iAutoRecord; + TInt iVideoLocation; + TInt iSipProfileId; + TInt iUiOrientation; + TInt iCapabilityQuery; + TInt iProductModeVariation; + TInt iEncodingDevice; + TInt iOnlyWithActiveCSCall; + TInt iOnlyIn3GNetwork; + TBuf iEncoderInfo; + TBuf iEncodingDeviceStr; + TInt iCameraUsage; + TInt iVideoDirection; + TInt iVideoBandwidth; + TInt iFastMode; + + private: + void ConstructL(); + void SetKeyValueL(const TUint32& aKey , TInt& aVal); + + private: + CRepository* iRepository; + }; + +class CPhoneResources : public CBase + { + public: + static CPhoneResources* NewL(); + static CPhoneResources* NewLC(); + ~CPhoneResources(); + + public : + void SaveL(); + + public: + TInt iCameraAvailability; + TInt iKeypadAvailability; + TInt iVideoPlayerAvailability; + TInt iCameraInformation; + TInt iKodiakPhoneCall; + + private : + void ConstructL(); + void SetValueL(TUid aCategory, TUint aKey, TInt aValue); + }; + +class CMusApplication : public CBase + { + public: + static CMusApplication* NewL(); + static CMusApplication* NewLC(); + ~CMusApplication(); + public : + + TBool Start(TInt aUseCase); + TBool Stop(); + TInt MonitorAvailability(); + TInt Availability(); + TBool AvailabilityInfo(); + void MusUseCaseInfo(TBool aStart); + private : + void HandleError(TInt aError , TPtrC aVal ); + public: + TInt iUseCase; + CMusManager *iMultimediasharing; + private : + void ConstructL(); + }; + + + +#endif + +// End of File +