locationsystemui/locationsysui/possettings/possettingsplugin/inc/apilogger.h
branchRCL_3
changeset 44 2b4ea9893b66
equal deleted inserted replaced
42:02ba3f1733c6 44:2b4ea9893b66
       
     1 /*
       
     2 * Copyright (c) 2010 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:  This class provides function that help in logging entry and exit of APIs of classes
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef APILOGGER_H
       
    19 #define APILOGGER_H
       
    20 
       
    21 #include <iostream>
       
    22 #include <fstream> 
       
    23 #include <QDebug>
       
    24 #include <qfile.h>
       
    25 #include <qtextstream.h>
       
    26 
       
    27 using namespace std;
       
    28 
       
    29 
       
    30 class ApiLogger
       
    31     {
       
    32     public:
       
    33     static void OpenLogFile();
       
    34     static void CloseLogFile();
       
    35     static void MyOutputHandler(QtMsgType type, const char *msg);
       
    36     };
       
    37     
       
    38 #endif // APILOGGER_H