tsrc/multimediasharingsettingsstub/src/mussettings.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 31 Aug 2010 15:12:07 +0300
branchRCL_3
changeset 22 73a1feb507fb
parent 0 f0cf47e981f9
child 23 bc78a40cd63c
permissions -rw-r--r--
Revision: 201032 Kit: 201035

/*
* Copyright (c) 2006 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
*
*/


#include "mussettings.h"
#include "mussettingskeys.h"



HBufC* MultimediaSharingSettings::iVideoFolder = NULL;

MusSettingsKeys::TAutoRecord MultimediaSharingSettings::iAutoRecord = MusSettingsKeys::TAutoRecord( 0 );
TInt MultimediaSharingSettings::iVideoLocation = 2; // phone memory C:
MusSettingsKeys::TVideoDirection MultimediaSharingSettings::iVideoDirection = MusSettingsKeys::EOneWayVideo;

HBufC* MultimediaSharingSettings::VideoFolderSettingLC()
    {
    HBufC* res = iVideoFolder->AllocLC();
    return res;

    }

MusSettingsKeys::TAuditoryNotification
    MultimediaSharingSettings::AuditoryNotificationSettingL()
    {
    //EAuditoryNotificationOn,
    //EAuditoryNotificationOff    
    TInt value(MusSettingsKeys::EAuditoryNotificationOn);
    return ( MusSettingsKeys::TAuditoryNotification ) value;
    }
    
MusSettingsKeys::TPopupNotification
    MultimediaSharingSettings::PopupNotificationSettingL()
    {
    //EPopupNotificationOn    
    //EPopupNotificationOff
    TInt value(MusSettingsKeys::EPopupNotificationOn);
    return ( MusSettingsKeys::TPopupNotification ) value;
    }

MusSettingsKeys::TAutoRecord MultimediaSharingSettings::AutoRecordSettingL()
    {
    return iAutoRecord;
    }


TInt MultimediaSharingSettings::VideoLocationSettingL()
    {
    return iVideoLocation;
    }
        
MusSettingsKeys::TVideoDirection MultimediaSharingSettings::VideoDirectionL()
    {
    return iVideoDirection;
    }