dtkLogger_p.h 881 Bytes
Newer Older
1
2
3
4
5
6
/* dtkLogger_p.h --- 
 * 
 * Author: Julien Wintz
 * Copyright (C) 2008-2011 - Julien Wintz, Inria.
 * Created: Thu Mar  1 17:26:54 2012 (+0100)
 * Version: $Id$
7
8
9
 * Last-Updated: Wed Apr  4 10:03:15 2012 (+0200)
 *           By: tkloczko
 *     Update #: 46
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
 */

/* Commentary: 
 * 
 */

/* Change log:
 * 
 */

#ifndef DTKLOGGER_P_H
#define DTKLOGGER_P_H

#include "dtkLog.h"
#include "dtkLogDestination.h"

#include <QtCore>
27
#include <QtGui>
28

Julien Wintz's avatar
Julien Wintz committed
29
30
class dtkLogViewList;

31
32
33
34
35
36
class dtkLoggerPrivate
{
public:
    dtkLog::Level level;

public:
37
38
39
40
                            dtkLogDestinationPointer  console;
    QHash<QString,          dtkLogDestinationPointer> files;
    QHash<QPlainTextEdit *, dtkLogDestinationPointer> editors;
    QHash<dtkLogModel *,    dtkLogDestinationPointer> models;
41
42
43
44
45
46
47
48
49

public:
    QList<dtkLogDestinationPointer> destinations;

public:
    QMutex mutex;
};

#endif