activityfw/storage/server/tsrc/t_server/t_server.h
changeset 117 c63ee96dbe5f
equal deleted inserted replaced
115:3ab5c078b490 117:c63ee96dbe5f
       
     1 //Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     2 //All rights reserved.
       
     3 //This component and the accompanying materials are made available
       
     4 //under the terms of "Eclipse Public License v1.0"
       
     5 //which accompanies this distribution, and is available
       
     6 //at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 
       
     8 //Initial Contributors:
       
     9 //Nokia Corporation - initial contribution.
       
    10 
       
    11 //Contributors:
       
    12 
       
    13 //Description:
       
    14 
       
    15 /////////////////////////////////////////////////////////////////////
       
    16 
       
    17 #ifndef T_SERVER_H
       
    18 #define T_SERVER_H
       
    19 #include <qobject.h>
       
    20 #include <qeventloop.h>
       
    21 #include "afapplicationsobserver.h"
       
    22 class T_Server: public QObject,
       
    23                 public MAfApplicationsObserver
       
    24 {
       
    25 Q_OBJECT
       
    26 private slots:
       
    27     void testStorage();
       
    28     void testMonitor();
       
    29     void testCollection();
       
    30     void testEngine();
       
    31 
       
    32 private:
       
    33     void applicationsChanged();
       
    34 
       
    35 private:
       
    36     QEventLoop mLoop;
       
    37     bool mAppChanged;
       
    38 };
       
    39 
       
    40 #endif //T_SERVER_H