securitydialogs/Autolock/autolockuseractivityservice/inc/autolockuseractivityservice.h
branchRCL_3
changeset 22 03674e5abf46
parent 21 09b1ac925e3f
child 23 94da73d93b58
equal deleted inserted replaced
21:09b1ac925e3f 22:03674e5abf46
     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: autolockuseractivityservice.h
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef AUTOLOCKAUTOLOCKUSERACTIVITYSERVICE_H
       
    19 #define AUTOLOCKAUTOLOCKUSERACTIVITYSERVICE_H
       
    20 
       
    21 #include "autolockuseractivityserviceinterface.h"
       
    22 #include "autolockuseractivityservice_global.h"
       
    23 
       
    24 class AutolockUserActivityServicePrivate;
       
    25 
       
    26 class AUTOLOCKUSERACTIVITYSERVICE_EXPORT AutolockUserActivityService : public AutolockUserActivityServiceInterface
       
    27 {
       
    28     Q_OBJECT
       
    29 
       
    30 public:
       
    31 
       
    32     explicit AutolockUserActivityService(/*QObject *parent = 0*/);
       
    33     ~AutolockUserActivityService();
       
    34 
       
    35     virtual void setInactivityPeriod(int seconds);
       
    36     virtual int inactivityPeriod() const;
       
    37 
       
    38 private:
       
    39 
       
    40     //virtual void connectNotify(const char *signal);
       
    41     //virtual void disconnectNotify(const char *signal);
       
    42 
       
    43     //bool receiversConnected();
       
    44 
       
    45     Q_DISABLE_COPY(AutolockUserActivityService)
       
    46 
       
    47 private:
       
    48 
       
    49     AutolockUserActivityServicePrivate *m_d;
       
    50     friend class AutolockUserActivityServicePrivate;
       
    51 
       
    52 };
       
    53 
       
    54 #endif // AUTOLOCKAUTOLOCKUSERACTIVITYSERVICE_H