controlpanelui/src/cpprofilewrapper/src/cpprofilemodel_win_p.cpp
branchRCL_3
changeset 14 5f281e37a2f5
parent 13 90fe62538f66
equal deleted inserted replaced
13:90fe62538f66 14:5f281e37a2f5
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0""
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "cpprofilemodel_p.h"
       
    20 #include <QString>
       
    21 
       
    22 CpProfileModelPrivate::CpProfileModelPrivate()
       
    23 {
       
    24 }
       
    25 
       
    26 CpProfileModelPrivate::~CpProfileModelPrivate()
       
    27 {
       
    28 }
       
    29 
       
    30 /*
       
    31  * Get the result of the initiation
       
    32  */
       
    33 int CpProfileModelPrivate::initiationFlag()
       
    34 {
       
    35     return -1;
       
    36 }
       
    37 
       
    38 /*
       
    39  * Get profile name with its id
       
    40  */
       
    41 QString CpProfileModelPrivate::profileName(int profileId)
       
    42 {
       
    43     Q_UNUSED(profileId);
       
    44     return "";
       
    45 }
       
    46 
       
    47 /*
       
    48  * Activate a profile with its id, return the operation code.
       
    49  */
       
    50 int CpProfileModelPrivate::activateProfile(int profileId)
       
    51 {
       
    52     Q_UNUSED(profileId);
       
    53     return -1;
       
    54 }
       
    55 
       
    56 /*
       
    57  * Get active profile's id
       
    58  */
       
    59 int CpProfileModelPrivate::activeProfileId()
       
    60 {
       
    61     return -1;
       
    62 }
       
    63 
       
    64 /*
       
    65  * Get path and file name of ring tone file
       
    66  */
       
    67 QString CpProfileModelPrivate::ringTone()
       
    68 {
       
    69     return "";
       
    70 }
       
    71 
       
    72 /*
       
    73  * Set path and file to ring tone
       
    74  */
       
    75 int CpProfileModelPrivate::setRingTone(const QString& filePath)
       
    76 {
       
    77     Q_UNUSED(filePath);
       
    78 	return -1;
       
    79 }
       
    80 
       
    81 /*
       
    82  * Get path and file name of message tone file
       
    83  */
       
    84 QString CpProfileModelPrivate::messageTone()
       
    85 {
       
    86     return "";
       
    87 }
       
    88 
       
    89 /*
       
    90  * Set path and file to message tone
       
    91  */
       
    92 int CpProfileModelPrivate::setMessageTone(const QString& filePath)
       
    93 {
       
    94     Q_UNUSED(filePath);
       
    95 	return -1;
       
    96 }
       
    97 
       
    98 /*
       
    99  * Get path and file name of email tone file
       
   100  */
       
   101 QString CpProfileModelPrivate::emailTone()
       
   102 {
       
   103     return "";
       
   104 }
       
   105 
       
   106 /*
       
   107  * Set path and file to email tone
       
   108  */
       
   109 int CpProfileModelPrivate::setEmailTone(const QString& filePath)
       
   110 {
       
   111     Q_UNUSED(filePath);
       
   112 	return -1;
       
   113 }
       
   114 
       
   115 /*
       
   116  * Get path and file name of calendar event tone file
       
   117  */
       
   118 QString CpProfileModelPrivate::calendarTone()
       
   119 {
       
   120     return "";
       
   121 }
       
   122 
       
   123 /*
       
   124  * Set path and file to calendar event tone
       
   125  */
       
   126 void CpProfileModelPrivate::setCalendarTone(const QString& filePath)
       
   127 {
       
   128     Q_UNUSED(filePath);
       
   129 }
       
   130 
       
   131 /*
       
   132  * Get path and file name of clock alarm tone file
       
   133  */
       
   134 QString CpProfileModelPrivate::alarmTone()
       
   135 {
       
   136     return "";
       
   137 }
       
   138 
       
   139 /*
       
   140  * Set path and file to clock alarm tone
       
   141  */
       
   142 void CpProfileModelPrivate::setAlarmTone(const QString& filePath)
       
   143 {
       
   144     Q_UNUSED(filePath);
       
   145 }
       
   146 
       
   147 /*
       
   148  * Get the value of master volume
       
   149  */
       
   150 int CpProfileModelPrivate::ringVolume()
       
   151 {
       
   152     return -1;
       
   153 }
       
   154 
       
   155 /*
       
   156  * Set master volume, the value should be between 1-10
       
   157  */
       
   158 void CpProfileModelPrivate::setRingVolume(int volume)
       
   159 {
       
   160     Q_UNUSED(volume);
       
   161 }
       
   162 
       
   163 /*
       
   164  * Activate master volume to beep
       
   165  */
       
   166 void CpProfileModelPrivate::activateBeep()
       
   167 {;
       
   168 }
       
   169 
       
   170 /*
       
   171  * Get beep status in master volume
       
   172  */
       
   173 bool CpProfileModelPrivate::isBeep()
       
   174 {
       
   175     return false;
       
   176 }
       
   177 
       
   178 /*
       
   179  * Activate master volume to silent
       
   180  */
       
   181 void CpProfileModelPrivate::activateSilent()
       
   182 {
       
   183 }
       
   184 
       
   185 /*
       
   186  * Get silent status in master volume
       
   187  */
       
   188 bool CpProfileModelPrivate::isSilent()
       
   189 {
       
   190     return false;
       
   191 }
       
   192 
       
   193 /*
       
   194  * Get master vibra's status
       
   195  */
       
   196 bool CpProfileModelPrivate::vibraStatus()
       
   197 {
       
   198     return false;
       
   199 }
       
   200 
       
   201 /*
       
   202  * Set master vibra's status
       
   203  */
       
   204 void CpProfileModelPrivate::setVibraStatus(bool status)
       
   205 {
       
   206     Q_UNUSED(status);
       
   207 }
       
   208 
       
   209 /*
       
   210  * Get keypad' volume
       
   211  */
       
   212 int CpProfileModelPrivate::keyVolume()
       
   213 {
       
   214     return -1;
       
   215 }
       
   216 
       
   217 /*
       
   218  * Set keypad's volume, 
       
   219  * the value of the volume should be between 0-3
       
   220  */
       
   221 void CpProfileModelPrivate::setKeyVolume(int volume)
       
   222 {
       
   223     Q_UNUSED(volume);
       
   224 }
       
   225 
       
   226 /*
       
   227  * Get screen tone's volume
       
   228  */
       
   229 int CpProfileModelPrivate::screenVolume()
       
   230 {
       
   231     return -1;
       
   232 }
       
   233 
       
   234 /*
       
   235  * Set screen tone's volume, 
       
   236  * the value of the volume should be between 0-3
       
   237  */
       
   238 void CpProfileModelPrivate::setScreenVolume(int volume)
       
   239 {
       
   240     Q_UNUSED(volume);
       
   241 }
       
   242 
       
   243 /*
       
   244  * Get screen vibra's level
       
   245  */
       
   246 int CpProfileModelPrivate::screenVibra()
       
   247 {
       
   248     return -1;
       
   249 }
       
   250 
       
   251 /*
       
   252  * Set screen vibra's level, 
       
   253  * the value of the level should be between 0-3
       
   254  */
       
   255 void CpProfileModelPrivate::setScreenVibra(int volume)
       
   256 {
       
   257     Q_UNUSED(volume);
       
   258 }
       
   259 
       
   260 
       
   261 // End of file