Torc
0.1
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
notify
torcnotifier.cpp
Go to the documentation of this file.
1
/* Class TorcNotifier
2
*
3
* Copyright (C) Mark Kendall 2016-18
4
*
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation; either version 2 of the License, or
8
* (at your option) any later version.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program; if not, write to the Free Software
17
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
*/
19
20
// Torc
21
#include "
torclogging.h
"
22
#include "
torcnotifier.h
"
23
36
TorcNotifier::TorcNotifier
(
const
QVariantMap &Details)
37
:
TorcDevice
(false, 0, 0, QStringLiteral(
"Notifier"
), Details)
38
{
39
}
40
41
TorcNotifierFactory
*
TorcNotifierFactory::gTorcNotifierFactory
=
nullptr
;
42
43
TorcNotifierFactory::TorcNotifierFactory
()
44
: nextTorcNotifierFactory(gTorcNotifierFactory)
45
{
46
gTorcNotifierFactory
=
this
;
47
}
48
49
TorcNotifierFactory
*
TorcNotifierFactory::GetTorcNotifierFactory
(
void
)
50
{
51
return
gTorcNotifierFactory
;
52
}
53
54
TorcNotifierFactory
*
TorcNotifierFactory::NextFactory
(
void
)
const
55
{
56
return
nextTorcNotifierFactory
;
57
}
58
TorcDevice
Definition:
torcdevice.h:19
TorcNotifierFactory::TorcNotifierFactory
TorcNotifierFactory()
Definition:
torcnotifier.cpp:43
torclogging.h
TorcNotifierFactory::nextTorcNotifierFactory
TorcNotifierFactory * nextTorcNotifierFactory
Definition:
torcnotifier.h:39
TorcNotifier::TorcNotifier
TorcNotifier(const QVariantMap &Details)
Definition:
torcnotifier.cpp:36
TorcNotifierFactory
Definition:
torcnotifier.h:27
torcnotifier.h
TorcNotifierFactory::gTorcNotifierFactory
static TorcNotifierFactory * gTorcNotifierFactory
Definition:
torcnotifier.h:38
TorcNotifierFactory::GetTorcNotifierFactory
static TorcNotifierFactory * GetTorcNotifierFactory(void)
Definition:
torcnotifier.cpp:49
TorcNotifierFactory::NextFactory
TorcNotifierFactory * NextFactory(void) const
Definition:
torcnotifier.cpp:54
Generated on Sat Jan 5 2019 21:54:03 for Torc by
1.8.11